template icon indicating copy to clipboard operation
template copied to clipboard

compilerOptions wont effect build/dont apply

Open KevsRepos opened this issue 4 years ago • 0 comments

It seems that compilerOptions have no effect at all for the compiler.

export default {
	input: 'src/main.js',
	output: {
		sourcemap: true,
		format: 'iife',
		name: 'app',
		file: 'public/build/bundle.js'
	},
	plugins: [
		svelte({
			compilerOptions: {
				// enable run-time checks when not in production
				dev: !production,
				customElement: true,
				css: false,
				enableSourcemap: {
					js: false,
					css: false
				}
			}
		}),

Not a single option is taken into account while the build process runs.

KevsRepos avatar Jan 11 '22 16:01 KevsRepos