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: add __webpack_module__ and __webpack_module_id__ to the api #5918

Closed
webpack-bot opened this issue Jan 31, 2022 · 2 comments · Fixed by #5925
Closed
Assignees

Comments

@webpack-bot
Copy link

webpack-bot commented Jan 31, 2022

A pull request by @sokra was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#15282


What kind of change does this PR introduce?
feature

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?

  • __webpack_module__ equals to module but is always available (module is not available in strict ESM)
  • __webpack_module__.id equals to module.id but is always available (module is not available in strict ESM)
@snitin315 snitin315 self-assigned this Jan 31, 2022
@snitin315
Copy link
Member

I will add it.

@sokra
Copy link
Member

sokra commented Jan 31, 2022

Update: It was changed from __webpack_module_id__ to __webpack_module__.id

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

Successfully merging a pull request may close this issue.

3 participants