ui: disable sourcemap to fix error (#436)

This commit is contained in:
panda authored and GitHub committed 2022-10-08 02:04:45 +08:00
1 parent dca4f46a2b
commit 12bad8267a
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
stats: {
preset: 'errors-warnings',
},
devtool: env.production ? 'source-map' : false,
devtool: false,
entry: {
hydro: './entry.js',
polyfill: './polyfill.ts',