Skip to content

Commit a7ff05c

Browse files
authored
Merge pull request #1579 from hrajotia/patch-1
setting environment to production
2 parents a93ddcc + 42a4054 commit a7ff05c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webpack.umd.min.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
var webpack = require('webpack');
33
var umdConfig = require('./webpack.umd.config');
44

5+
// setting environment
6+
process.env.NODE_ENV = 'production';
7+
58
umdConfig.output.filename = '[name].min.js';
69
umdConfig.devtool = null;
710
umdConfig.plugins = [

0 commit comments

Comments
 (0)