Skip to content

Commit

Permalink
Merge pull request #1579 from hrajotia/patch-1
Browse files Browse the repository at this point in the history
setting environment to production
  • Loading branch information
AllenFang authored Sep 2, 2017
2 parents a93ddcc + 42a4054 commit a7ff05c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.umd.min.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
var webpack = require('webpack');
var umdConfig = require('./webpack.umd.config');

// setting environment
process.env.NODE_ENV = 'production';

umdConfig.output.filename = '[name].min.js';
umdConfig.devtool = null;
umdConfig.plugins = [
Expand Down

0 comments on commit a7ff05c

Please sign in to comment.