From eaccc50f1800185b68efa4a82568ef6c91d48224 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 a84db511b4..2be47b58ec 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')