diff --git a/gulpfile.mjs b/gulpfile.mjs index 57c8c66d16461..23a6fcfd7e88d 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$/,