diff --git a/gulpfile.mjs b/gulpfile.mjs index 539e199cf..7862c2a5b 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -380,6 +380,11 @@ function createWebpackConfig( }, devtool: enableSourceMaps ? "source-map" : undefined, module: { + parser: { + javascript: { + importMeta: false, + }, + }, rules: [ { test: /\.[mc]?js$/,