rspack
rspack copied to clipboard
feat(html)!: support function filename and `[name]` in filename
Summary
Caution: should not be merge until next minor version. This pr is a breaking change because
[name]
will be replaced to template filename before, and now it will be replaced to the entry name just like webpack does
- Support function filename
- Support filename with
[name]
The filenames will be calculated from entries on JS side, then send them to Rust side. So dynamic entry is not supported.
Checklist
- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).