import adapter from '@sveltejs/adapter-static';
import analyze from 'rollup-plugin-analyzer';
/** @type {import('@sveltejs/kit').Config} */
export default {
kit: {
// hydrate the
element in src/app.html
target: '#svelte',
adapter: adapter(),
files: {
lib: './src',
assets: './public',
},
vite: {
build: {
rollupOptions: {
plugins: [ analyze() ],
// external: ['updux','@yanick/updeep']
}
}
}},
};