const webpack = require('webpack');
const merge = require('webpack-merge');
const common = require('./webpack.common.js');

process.env.BABEL_ENV = 'production';

module.exports = merge(common, {
  mode: 'production',
  plugins: [
    new webpack.optimize.OccurrenceOrderPlugin()
  ]
});
