]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/config/webpack.video-embed.js
Upgrade client dependencies
[github/Chocobozzz/PeerTube.git] / client / config / webpack.video-embed.js
index a04d5be8b57240997f1eb104420ae4bfca3e1541..fe40194cf3a010fd5c9b35262e8865ecc1f2f27e 100644 (file)
@@ -8,7 +8,7 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin')
 const PurifyCSSPlugin = require('purifycss-webpack')
 
 module.exports = function (options) {
-  const isProd = options.env === 'production'
+  const isProd = options && options.env === 'production'
 
   const configuration = {
     entry: {