aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-01 15:55:54 +0200
committerChocobozzz <me@florianbigard.com>2021-09-01 15:55:54 +0200
commit6527eb0ccf823b5eac547c90066d3bd693094b2c (patch)
tree6b6600ff3a5c9bb617f87deecd677ef9a076e795 /client/webpack
parent3419e0e1fe8e48a08b63ca0ded31087f913eb2b6 (diff)
downloadPeerTube-6527eb0ccf823b5eac547c90066d3bd693094b2c.tar.gz
PeerTube-6527eb0ccf823b5eac547c90066d3bd693094b2c.tar.zst
PeerTube-6527eb0ccf823b5eac547c90066d3bd693094b2c.zip
Compat embed with ios 11
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js17
1 files changed, 17 insertions, 0 deletions
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 () {
74 } 74 }
75 ] 75 ]
76 }, 76 },
77 {
78 test: /\.js$/,
79 use: [
80 {
81 loader: 'babel-loader',
82 options: {
83 presets: [
84 [
85 '@babel/preset-env', {
86 targets: 'last 1 Chrome version, last 2 Edge major versions, Firefox ESR, Safari >= 11, ios_saf >= 11'
87 }
88 ]
89 ]
90 }
91 }
92 ]
93 },
77 94
78 { 95 {
79 test: /\.(sass|scss)$/, 96 test: /\.(sass|scss)$/,