2021-05-17 13:48:31 +00:00
|
|
|
import adapter from '@sveltejs/adapter-static';
|
2021-06-13 15:36:59 +00:00
|
|
|
import analyze from 'rollup-plugin-analyzer';
|
2021-05-17 13:48:31 +00:00
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
export default {
|
|
|
|
kit: {
|
|
|
|
// hydrate the <div id="svelte"> element in src/app.html
|
|
|
|
target: '#svelte',
|
|
|
|
adapter: adapter(),
|
|
|
|
files: {
|
|
|
|
lib: './src',
|
|
|
|
assets: './public',
|
|
|
|
},
|
|
|
|
vite: {
|
|
|
|
build: {
|
|
|
|
rollupOptions: {
|
2021-06-13 15:36:59 +00:00
|
|
|
plugins: [ analyze() ],
|
2021-05-17 13:48:31 +00:00
|
|
|
// external: ['updux','@yanick/updeep']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}},
|
|
|
|
};
|