]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/webpack/webpack.video-embed.js
Fix log parser with multiple files
[github/Chocobozzz/PeerTube.git] / client / webpack / webpack.video-embed.js
index c5df40a046437eaa79c83e23bf2f394033a685c5..f5c75dd47597c1cfa357b7ec9ef9a8ecc4d12a17 100644 (file)
@@ -75,7 +75,7 @@ module.exports = function () {
           ]
         },
         {
-          test: /\.js$/,
+          test: /\.m?js$/,
           use: [
             {
               loader: 'babel-loader',
@@ -188,6 +188,7 @@ module.exports = function () {
             ecma: 6,
             warnings: false,
             ie8: false,
+            safari10: true,
             mangle: true,
             compress: {
               passes: 3,