Skip to content

Document webpack change: fix resource name when filename is data uri #5941

@webpack-bot

Description

@webpack-bot

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

See pull request: webpack/webpack#15293


What kind of change does this PR introduce?

fixes #13835

  • infer extension from mime type
  • set path like replacement to empty string

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?

for assets builded from data uri replacements:
[name], [file], [query], [fragment], [base], [path] set to empty string

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions