From 6970f6a3ee80877e8fb72fce8b93077805986b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 27 Sep 2019 16:23:09 +0200 Subject: [PATCH] IE11 support for media-viewer --- apps/media-viewer/webpack.common.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/apps/media-viewer/webpack.common.js b/apps/media-viewer/webpack.common.js index b9ba150dd0b..ec93073d105 100644 --- a/apps/media-viewer/webpack.common.js +++ b/apps/media-viewer/webpack.common.js @@ -24,7 +24,27 @@ module.exports = { options: { rootMode: 'upward' } - }, { + }, + { + test: /\.jsx?$/, + include: /node_modules\/(?=(query-string|split-on-first|strict-uri-encode)\/).*/, + use: { + loader: 'babel-loader', + options: { + presets: [ + [ + '@babel/preset-env', + { + targets: { + ie: '11' + } + } + ] + ] + } + } + }, + { test: /\.vue$/, loader: 'vue-loader' }, {