Skip to content

Commit

Permalink
Add UAT webpacker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lagoan committed Oct 27, 2020
1 parent 4becdf2 commit 841caaa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/webpack/uat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
process.env.NODE_ENV = process.env.NODE_ENV || 'uat'

const environment = require('./environment')
environment.plugins.get("UglifyJs").options.uglifyOptions.ecma = 5

module.exports = environment.toWebpackConfig()

0 comments on commit 841caaa

Please sign in to comment.