nicco.io/svelte.config.js

23 lines
425 B
JavaScript
Raw Normal View History

2021-08-02 07:53:08 +00:00
import preprocess from 'svelte-preprocess'
import adapter from '@sveltejs/adapter-static'
2021-12-22 22:25:13 +00:00
import analyze from 'rollup-plugin-analyzer'
2021-08-02 07:53:08 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: preprocess(),
kit: {
adapter: adapter(),
target: '#svelte',
2021-12-22 22:25:13 +00:00
vite: {
build: {
rollupOptions: {
plugins: [analyze()],
},
},
},
2021-08-02 07:53:08 +00:00
},
}
export default config