Current behaviour π£
Build program will crash when set output.publicPath as a function.
Expected behBaviour βοΈ
Be fine.
Reproduction Example πΎ
https://stackblitz.com/github/Gehbt/reprod-rspack-external-html-plugin
reproduct:
run pnpm run build
Environment π₯
no matter
Additional comments
It is looks like rspack's compilation.getAssetPath not support function at first parameter.
rspack:

webpack:
