Minor clean-up of environment var name in webpack config

This commit is contained in:
Andrew Sliwinski 2015-10-13 15:40:51 -04:00
parent 35ae981c19
commit 7670f61cec

View file

@ -1,7 +1,8 @@
var path = require('path');
var webpack = require('webpack');
var environment = require('./src/environment.js');
var routes = require('./server/routes.json');
var buildEnv = require('./src/environment.js');
// Prepare all entry points
var entry = {
@ -53,7 +54,7 @@ module.exports = {
},
plugins: [
new webpack.DefinePlugin({
'process.env': buildEnv
'process.env': environment
}),
new webpack.optimize.UglifyJsPlugin({
compress: {