Dependency optimization (#1294)

* -qs

* -urlencode

* +urlencode

* aaa
This commit is contained in:
Rider21
2024-11-06 17:06:34 +03:00
committed by GitHub
parent e5d852a64f
commit 778a5beaed
11 changed files with 2293 additions and 102 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
import path from 'path';
import { fileURLToPath } from 'url';
@@ -7,7 +8,7 @@ const dirname = path.dirname(fileURLToPath(import.meta.url));
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react({ devTarget: 'es5' })],
plugins: [nodePolyfills(), react({ devTarget: 'es5' })],
resolve: {
alias: {
'@libs': path.resolve(dirname, './src/libs'),