[@vitejs/plugin-legacy] Rollup option output.hashCharacters
is ignored when bundling legacy polyfills chunk
#19124
Labels
output.hashCharacters
is ignored when bundling legacy polyfills chunk
#19124
Describe the bug
When the Vite legacy plugin bundles polyfill chunks, the rollup option output.hashCharacters is ignored.
Relevant part in source code:
vite/packages/plugin-legacy/src/index.ts
Line 817 in 2b602e2
Option
output.hashCharacters
should be passed as well.Reproduction
https://stackblitz.com/edit/vitejs-vite-hvjsb2nr?file=vite.config.js
Steps to reproduce
Run
npm install
followed bynpm run build
. Observe that the produced polyfills chunk has a filename containing a base64 hash; instead of the specified base36 hash.System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: