Skip to content

Commit

Permalink
fixed limit
Browse files Browse the repository at this point in the history
  • Loading branch information
npmrun committed May 29, 2023
1 parent 42d414b commit 2dee8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/render/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
},
build: {
outDir: path.resolve(__dirname, "../../dist/electron"),
sourcemap: true,
sourcemap: false, // 为true时会导致v8内存溢出
chunkSizeWarningLimit: 1024,
minify: "terser",
terserOptions: {
Expand Down

0 comments on commit 2dee8c0

Please sign in to comment.