diff --git a/src/main.tsx b/src/main.tsx
index 46d32a3..874a5a3 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -1,4 +1,3 @@
-import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
// 重置样式
@@ -9,7 +8,7 @@ import '@/styles/scss/global.scss';
import App from './app.tsx';
createRoot(document.getElementById('root')!).render(
-
-
-
+ //
+
+ //
);
diff --git a/vite.config.ts b/vite.config.ts
index 9109047..068295b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -54,9 +54,9 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
chunkSizeWarningLimit: 1500,
rollupOptions: {
output: {
- chunkFileNames: 'js/[name]-[hash].js',
- entryFileNames: 'js/[name]-[hash].js',
- assetFileNames: '[ext]/[name]-[hash].[ext]',
+ chunkFileNames: 'js/[name]-[hash].js', // chunk包输出的文件夹名称
+ entryFileNames: 'js/[name]-[hash].js', // 入口文件输出的文件夹名称
+ assetFileNames: '[ext]/[name]-[hash].[ext]', // 静态文件输出的文件夹名称
manualChunks: {
'react-vendor': ['react', 'react-dom', 'react-router-dom']
// 'vendor':['antd']