We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb2e66 commit 27e9fe3Copy full SHA for 27e9fe3
3 files changed
config/webpack/server.js
@@ -12,7 +12,7 @@ fs.readdirSync('node_modules')
12
});
13
14
var config = {
15
- mode: 'production',
+ mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
16
externals: nodeModules,
17
target: 'node',
18
0 commit comments