diff options
Diffstat (limited to 'client/webpack')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 17 |
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)$/, |