prescottprue/authrocket

View on GitHub
webpack-production.config.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'

var webpack = require('webpack')
var baseConfig = require('./webpack-base.config')

var config = Object.create(baseConfig)
config.plugins = config.plugins.concat([
  new webpack.optimize.OccurenceOrderPlugin(),
  new webpack.optimize.UglifyJsPlugin({
    compressor: {
      screw_ie8: true,
      warnings: false
    }
  })
])

module.exports = config