Posted 9 days ago. Visible to the public. Auto-destruct in 51 days

Updated: Webpacker: Configuring browser compatibility

Setting the UglifyJS options should only happen in config/webpack/production.js because UglifyjS is only available in production environment. Otherwise you will get a Error: Item UglifyJs not found when starting a rails server for development.

Note: rake tasks like webpacker:compile set NODE_ENV=production whereas starting the rails server has NODE_ENV=development configured. So you will not get the error on compiling via rake.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
Natalie Krehan
Last edit:
9 days ago
by Natalie Krehan
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Natalie Krehan to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more