aotds-docks/svelte.config.js

18 lines
418 B
JavaScript
Raw Normal View History

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
adapter: adapter(),
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']
}
}
}},
};