diff options
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index fede16932..5e4c708d6 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -15,7 +15,7 @@ const ENV = process.env.ENV = process.env.NODE_ENV = 'development' | |||
15 | const HOST = process.env.HOST || 'localhost' | 15 | const HOST = process.env.HOST || 'localhost' |
16 | const PORT = process.env.PORT || 3000 | 16 | const PORT = process.env.PORT || 3000 |
17 | const HMR = helpers.hasProcessFlag('hot') | 17 | const HMR = helpers.hasProcessFlag('hot') |
18 | const METADATA = webpackMerge(commonConfig.metadata, { | 18 | const METADATA = webpackMerge(commonConfig({env: ENV}).metadata, { |
19 | host: HOST, | 19 | host: HOST, |
20 | port: PORT, | 20 | port: PORT, |
21 | ENV: ENV, | 21 | ENV: ENV, |
@@ -27,7 +27,7 @@ const METADATA = webpackMerge(commonConfig.metadata, { | |||
27 | * | 27 | * |
28 | * See: http://webpack.github.io/docs/configuration.html#cli | 28 | * See: http://webpack.github.io/docs/configuration.html#cli |
29 | */ | 29 | */ |
30 | module.exports = webpackMerge(commonConfig, { | 30 | module.exports = webpackMerge(commonConfig({env: ENV}), { |
31 | /** | 31 | /** |
32 | * Merged metadata from webpack.common.js for index.html | 32 | * Merged metadata from webpack.common.js for index.html |
33 | * | 33 | * |