From 18663355ecd1de927934e4985401a320fbf02626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20L=C3=BCnborg?= Date: Mon, 28 Aug 2017 15:37:07 +0200 Subject: [PATCH] fix #877 --- template/build/dev-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/build/dev-server.js b/template/build/dev-server.js index a99d6db2ca..e3c7b55708 100644 --- a/template/build/dev-server.js +++ b/template/build/dev-server.js @@ -10,7 +10,7 @@ var path = require('path') var express = require('express') var webpack = require('webpack') var proxyMiddleware = require('http-proxy-middleware') -var webpackConfig = {{#if_or unit e2e}}process.env.NODE_ENV === 'testing' || 'production' +var webpackConfig = {{#if_or unit e2e}}(process.env.NODE_ENV === 'testing' || process.env.NODE_ENV === 'production') ? require('./webpack.prod.conf') : {{/if_or}}require('./webpack.dev.conf')