Skip to content

Commit

Permalink
Merge pull request mozilla#19149 from Snuffleupagus/issue-19145
Browse files Browse the repository at this point in the history
Prevent Webpack from resolving `import.meta.url` statements during building (issue 19145)
  • Loading branch information
timvandermeij authored Dec 5, 2024
2 parents f0a8a79 + a2b889b commit a4eb840
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@ function createWebpackConfig(
},
devtool: enableSourceMaps ? "source-map" : undefined,
module: {
parser: {
javascript: {
importMeta: false,
},
},
rules: [
{
test: /\.[mc]?js$/,
Expand Down

0 comments on commit a4eb840

Please sign in to comment.