Commit 7670f61c authored by Andrew Sliwinski's avatar Andrew Sliwinski

Minor clean-up of environment var name in webpack config

parent 35ae981c
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: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment