build: fix setting webpack mode
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
8d1fd9841e
commit
f1ca2cac96
@@ -28,7 +28,7 @@ const config = {
|
||||
}
|
||||
},
|
||||
devtool: 'source-map',
|
||||
mode: minimize ? 'development' : 'production',
|
||||
mode: minimize ? 'production' : 'development',
|
||||
module: {
|
||||
rules: [ {
|
||||
// Transpile ES2015 (aka ES6) to ES5. Accept the JSX syntax by React
|
||||
|
||||
Reference in New Issue
Block a user