diff options
Diffstat (limited to 'client/config')
-rw-r--r-- | client/config/webpack.video-embed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/config/webpack.video-embed.js b/client/config/webpack.video-embed.js index a04d5be8b..fe40194cf 100644 --- a/client/config/webpack.video-embed.js +++ b/client/config/webpack.video-embed.js | |||
@@ -8,7 +8,7 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin') | |||
8 | const PurifyCSSPlugin = require('purifycss-webpack') | 8 | const PurifyCSSPlugin = require('purifycss-webpack') |
9 | 9 | ||
10 | module.exports = function (options) { | 10 | module.exports = function (options) { |
11 | const isProd = options.env === 'production' | 11 | const isProd = options && options.env === 'production' |
12 | 12 | ||
13 | const configuration = { | 13 | const configuration = { |
14 | entry: { | 14 | entry: { |