From 6527eb0ccf823b5eac547c90066d3bd693094b2c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 1 Sep 2021 15:55:54 +0200 Subject: Compat embed with ios 11 --- client/webpack/webpack.video-embed.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'client/webpack') diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index 8cd606b39..c5df40a04 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -74,6 +74,23 @@ module.exports = function () { } ] }, + { + test: /\.js$/, + use: [ + { + loader: 'babel-loader', + options: { + presets: [ + [ + '@babel/preset-env', { + targets: 'last 1 Chrome version, last 2 Edge major versions, Firefox ESR, Safari >= 11, ios_saf >= 11' + } + ] + ] + } + } + ] + }, { test: /\.(sass|scss)$/, -- cgit v1.2.3