Skip to content

Commit 326b870

Browse files
authored
Merge pull request #2707 from daostack/CW-dev-minification
Disable minification in DEV
2 parents 99c31f8 + c660618 commit 326b870

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

craco.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
configure: (webpackConfig, { env, paths }) => {
66
const reactAppEnv = process.env.REACT_APP_ENV;
77
if (reactAppEnv === "dev" || reactAppEnv === "stage") {
8+
webpackConfig.optimization.minimize = false;
89
webpackConfig.devtool = "source-map";
910
} else {
1011
webpackConfig.devtool = false;

0 commit comments

Comments
 (0)