Skip to content

Commit 23e8c99

Browse files
committed
Avoid minifying js in production
we are seeing syntax errors in prod but can't see where they're coming from. this should help.
1 parent 0a8370a commit 23e8c99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scratch/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const config = {
99
output: {
1010
path: path.resolve(__dirname, "dist"),
1111
},
12+
optimization: {
13+
minimize: false
14+
},
1215
plugins: [
1316
// Add your plugins here
1417
// Learn more about plugins from https://webpack.js.org/configuration/plugins/

0 commit comments

Comments
 (0)