diff --git a/vite.config.ts b/vite.config.ts index c169e4b8e..5fe48133f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -53,7 +53,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => { }, build: { assetsInlineLimit: 0, - sourcemap: true, + sourcemap: false, // 消除打包大小超过500kb警告 chunkSizeWarningLimit: 4000, rollupOptions: {