From 48dbd405268a06a541f971953e08c1793ccbb4ab Mon Sep 17 00:00:00 2001 From: Jorge Antunes Date: Tue, 18 Oct 2016 16:40:58 +0100 Subject: [PATCH] fix bug with `htmlWebpackPlugin.options.env` --- packages/dev-toolkit/package.json | 2 +- packages/dev-toolkit/src/webpack/config/plugins.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dev-toolkit/package.json b/packages/dev-toolkit/package.json index 32dea7c9..1067f1e7 100644 --- a/packages/dev-toolkit/package.json +++ b/packages/dev-toolkit/package.json @@ -1,6 +1,6 @@ { "name": "dev-toolkit", - "version": "5.3.11", + "version": "5.3.12", "description": "Development Toolkit for React Veterans", "main": "index.js", "scripts": { diff --git a/packages/dev-toolkit/src/webpack/config/plugins.js b/packages/dev-toolkit/src/webpack/config/plugins.js index 7e46ff50..5bae2dc1 100644 --- a/packages/dev-toolkit/src/webpack/config/plugins.js +++ b/packages/dev-toolkit/src/webpack/config/plugins.js @@ -79,7 +79,7 @@ const productionPlugins = [ reactHtml: scriptOptions.dynamic ? '' : '', creatingBuild: true, - env: JSON.stringify(process.env), + env: process.env, }), new ScriptExtHtmlWebpackPlugin({ async: ['app'],