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 asset info for sourceFilename and javascriptModule #4089

Closed
webpack-bot opened this issue Oct 22, 2020 · 1 comment · Fixed by #4116
Closed

Comments

@webpack-bot
Copy link

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

See pull request: webpack/webpack#11785


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?
two more properties in info (https://webpack.js.org/api/stats/#asset-objects)

  • sourceFilename when asset was created from a source file (potentially transformed), the original filename relative to compilation context
  • javascriptModule true, when asset is javascript and an ESM
@jeffin143
Copy link
Contributor

On it

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.

2 participants