rspack icon indicating copy to clipboard operation
rspack copied to clipboard

feat(html)!: support function filename and `[name]` in filename

Open LingyuCoder opened this issue 5 months ago • 1 comments

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).

LingyuCoder avatar Sep 02 '24 03:09 LingyuCoder