diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-06 10:40:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-06 11:03:09 +0200 |
commit | aa8b6df4a51c82eb91e6fd71a090b2128098af6b (patch) | |
tree | b2d6292ceb34ad71a1ce9b671f0d87923f6c7c21 /client/config/webpack.video-embed.js | |
parent | 127d96b969891a73d76e257581e5fd81cd867480 (diff) | |
download | PeerTube-aa8b6df4a51c82eb91e6fd71a090b2128098af6b.tar.gz PeerTube-aa8b6df4a51c82eb91e6fd71a090b2128098af6b.tar.zst PeerTube-aa8b6df4a51c82eb91e6fd71a090b2128098af6b.zip |
Client: handle multiple file resolutions
Diffstat (limited to 'client/config/webpack.video-embed.js')
-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: { |