You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
And a follow up question: is it possible to disable Vite from creating the worker output as an asset in the first place and just compile the worker file by itself?
Describe the bug
It seems that no options in
worker.rollupOptions
seem to work.I have tried to rename the worker asset output name without any success. Repro sample is linked and can be tested by running
npm run build
.Reproduction
https://stackblitz.com/edit/vitejs-vite-yfkqxs?file=vite.config.ts&terminal=dev
System Info
System: OS: Linux 5.0 undefined CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 1.22.10 - /bin/yarn npm: 7.17.0 - /bin/npm npmPackages: vite: ^2.9.13 => 2.9.13
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: