Skip to content

Commit

Permalink
fix(projects): 修复@antv/g2生产环境报错
Browse files Browse the repository at this point in the history
ISSUES CLOSED: \
  • Loading branch information
honghuangdc committed May 31, 2022
1 parent d9ac7e4 commit 4558c24
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ export default defineConfig(configEnv => {
proxy: createViteProxy(isOpenProxy, envConfig)
},
build: {
brotliSize: false
brotliSize: false,
sourcemap: true,
commonjsOptions: {
ignoreTryCatch: false
}
}
};
});

1 comment on commit 4558c24

@vercel
Copy link

@vercel vercel bot commented on 4558c24 May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.