aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/config/webpack.dev.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r--client/config/webpack.dev.js4
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'
15const HOST = process.env.HOST || 'localhost' 15const HOST = process.env.HOST || 'localhost'
16const PORT = process.env.PORT || 3000 16const PORT = process.env.PORT || 3000
17const HMR = helpers.hasProcessFlag('hot') 17const HMR = helpers.hasProcessFlag('hot')
18const METADATA = webpackMerge(commonConfig.metadata, { 18const 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 */
30module.exports = webpackMerge(commonConfig, { 30module.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 *