I am deploying sveltekit to a dfinity container and I need to disable minification to debug.
I have to build a static version to deploy it with npm run build
-- is there a vite option to disable minification?
I've tried this: svelte.config.js
but it doesn't do anything:
vite: {
resolve: {
alias: {
$components: path.resolve('./src/components'),
$stores: path.resolve('./src/stores'),
$api: path.resolve('./src/api')
}
},
build: {
minify: false
}
}
vite.build.minify=false
does actually disable minification in a newly scaffolded SvelteKit project. Can you share a link to a reproduction of the problem? – Tailpipe