From 2873f00bd89d8f1b5f88614415f8142a5c2065c3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Jun 2022 15:26:45 +0200 Subject: [PATCH] Fix embed compat with safari 10 --- client/package.json | 1 - client/webpack/webpack.video-embed.js | 1 + client/yarn.lock | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index bf7ef3639..7482b15eb 100644 --- a/client/package.json +++ b/client/package.json @@ -126,7 +126,6 @@ "stream-http": "^3.0.0", "stylelint": "^14.9.1", "stylelint-config-sass-guidelines": "^9.0.1", - "terser-webpack-plugin": "^5.3.3", "ts-loader": "^9.3.0", "tslib": "^2.4.0", "typescript": "~4.7.3", diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index 13bcf9717..f5c75dd47 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -188,6 +188,7 @@ module.exports = function () { ecma: 6, warnings: false, ie8: false, + safari10: true, mangle: true, compress: { passes: 3, diff --git a/client/yarn.lock b/client/yarn.lock index 590c3128a..e8ba39029 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -10902,7 +10902,7 @@ temp-fs@^0.9.9: dependencies: rimraf "~2.5.2" -terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.3.3: +terser-webpack-plugin@^5.1.3: version "5.3.3" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz#8033db876dd5875487213e87c627bca323e5ed90" integrity sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==