"npm run build" now builds an artifact optimized for production use. The removes dead code, and minizes the result. The size of the bundle shrinks from about 14MB to 2MB. The previous build command is moved to "npm run build:dev". Change-Id: I21430f06049c4eeeb4a66c7143da8c2919fb5a24 Closes-Bug: 1688610
2 lines
58 B
JavaScript
2 lines
58 B
JavaScript
module.exports = env => require(`./webpack.${env}.js`)();
|