Skip to content

1.37.0

Compare
Choose a tag to compare
@Wolfr Wolfr released this 22 Jun 11:46
· 72 commits to master since this release
  • 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.
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
  },
};