X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fwebpack%2Fwebpack.video-embed.js;h=f5c75dd47597c1cfa357b7ec9ef9a8ecc4d12a17;hb=5220859984a9a20c575a294e5825b3e0d756b03b;hp=c5df40a046437eaa79c83e23bf2f394033a685c5;hpb=6527eb0ccf823b5eac547c90066d3bd693094b2c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index c5df40a04..f5c75dd47 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -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,