<!-- documentation request from webpack/webpack --> *A pull request by @pavelsavara was merged and maintainers requested a documentation change.* See pull request: https://github.com/webpack/webpack/pull/15246 --- ## Problem Current webpack 5 evaluates `import.meta.url` to `file://some/path/to/source` of the build machine. Fixes https://github.com/webpack/webpack/issues/14445 ## Proposed changes add new parser setting `importMeta` - enable/disable `import.meta` parsing ``` module.exports = { module: { parser: { javascript : { importMeta: false } } } }; ``` **Does this PR introduce a breaking change?** No **What needs to be documented once your changes are merged?** New parser.javascript option `importMeta` - enable/disable `import.meta` parsing