We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A pull request by @pavelsavara was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#15246
Current webpack 5 evaluates import.meta.url to file://some/path/to/source of the build machine.
import.meta.url
file://some/path/to/source
Fixes webpack/webpack#14445
add new parser setting importMeta - enable/disable import.meta parsing
importMeta
import.meta
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
The text was updated successfully, but these errors were encountered:
module.parser.javascript.importMeta
snitin315
Successfully merging a pull request may close this issue.
A pull request by @pavelsavara was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#15246
Problem
Current webpack 5 evaluates
import.meta.url
tofile://some/path/to/source
of the build machine.Fixes webpack/webpack#14445
Proposed changes
add new parser setting
importMeta
- enable/disableimport.meta
parsingDoes this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
New parser.javascript option
importMeta
- enable/disableimport.meta
parsingThe text was updated successfully, but these errors were encountered: