mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
made production build to be smaller and have sourcemap
This commit is contained in:
@@ -116,7 +116,6 @@ module.exports = function() {
|
||||
inline: true
|
||||
},
|
||||
stats: 'minimal',
|
||||
mode: 'development',
|
||||
devtool: 'eval'
|
||||
devtool: process.env.NODE_ENV === 'development' ? 'eval' : 'source-map'
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user