mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Minor clean-up of environment var name in webpack config
This commit is contained in:
parent
35ae981c19
commit
7670f61cec
1 changed files with 3 additions and 2 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue