Skip to content
New issue

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

Document webpack change: feat: support node: prefix for Node.js core modules in runtime code #7230

Open
webpack-bot opened this issue Apr 12, 2024 · 0 comments
Assignees

Comments

@webpack-bot
Copy link

A pull request by @alexander-akait was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#18316


What kind of change does this PR introduce?

fixes webpack/webpack#18277

Did you add tests for your changes?

Yes

Does this PR introduce a breaking change?

No, because we generate it only when your env supported it

What needs to be documented once your changes are merged?

Yes

Shorty:

We generate node: prefix for import ... from "module" only when your env supported it and it is only abour webpack runtime code. We need document that you can disable it using the output.environment.nodePrefixForCoreModules option

@snitin315 snitin315 self-assigned this Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants