From 4ce5f50cd3712619419feda42ecacfd751759fa4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Nov 2021 15:37:44 +0100 Subject: [PATCH] Fix babel for mjs files --- client/webpack/webpack.video-embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index c5df40a04..13bcf9717 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -75,7 +75,7 @@ module.exports = function () { ] }, { - test: /\.js$/, + test: /\.m?js$/, use: [ { loader: 'babel-loader',