vite build minify: false options do not affect service-worker #11790
Labels
bug
Something isn't working
p2-nice-to-have
SvelteKit cannot be used by a small number of people, quality of life improvements, etc.
Describe the bug
It seems there is no way to not minify the generated service-worker
Setting build: {minify: false} in vite.config.ts do not affect the generated service-worker.js file
Reproduction
create a src/service-worker.ts file with content in it
add :
build: {minify: false}
in vite.config.tspnpm build
see
build/service-worker.js
is minfiedLogs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: