aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-26 01:30:52 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-26 01:30:52 +0200
commit9aab9fd6134351bba9445df2b24d3d2c6deedf0e (patch)
treeed1df101195a672ecbde548c7492ebaa6eabe236 /webpack.config.js
parentc26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b (diff)
don't fail if we don't pass env to webpack
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index e1915535a..2a1f13dce 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -4,6 +4,7 @@ const merge = require('webpack-merge');
module.exports = function (env) {
+ env = env || {};
const base = {
output: {
filename: '[name]-bundle.js',