]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix babel for mjs files
authorChocobozzz <me@florianbigard.com>
Wed, 24 Nov 2021 14:37:44 +0000 (15:37 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 24 Nov 2021 14:37:44 +0000 (15:37 +0100)
client/webpack/webpack.video-embed.js

index c5df40a046437eaa79c83e23bf2f394033a685c5..13bcf9717316acd1d43daeb04848f28ae4146504 100644 (file)
@@ -75,7 +75,7 @@ module.exports = function () {
           ]
         },
         {
-          test: /\.js$/,
+          test: /\.m?js$/,
           use: [
             {
               loader: 'babel-loader',