]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/webpack/webpack.video-embed.js
Don't redirect on verify account page after login
[github/Chocobozzz/PeerTube.git] / client / webpack / webpack.video-embed.js
index 12ab6a639c40a93df09af7ef79f6e06c0da2098a..909048cca866a318508db4f7a27b6e3b76d6e35f 100644 (file)
@@ -39,7 +39,7 @@ module.exports = function () {
       publicPath: '/client/standalone/videos/'
     },
 
-    // devtool: 'source-map',
+    devtool: process.env.NODE_ENV === 'production' ? false : 'source-map',
 
     module: {