1.37.0
- Make it possible to build for production using new
npm run build-prod
command- Uses a configuration object located at
bedrock.config.prod.js
where you can specify specific values. Note that you need to specify the full original (sub)object once you override something. Example below.
- Uses a configuration object located at
module.exports = {
pageTree: false,
js: {
minify: true
},
css: {
minify: true,
purge: true,
compiler: 'scss' // Note this line, which you would not expect in a file that is about production
},
};