22 lines
501 B
JavaScript
22 lines
501 B
JavaScript
import adapter from "@sveltejs/adapter-static";
|
|
import analyze from "rollup-plugin-analyzer";
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
export default {
|
|
kit: {
|
|
// outDir: './docs',
|
|
// hydrate the <div id="svelte"> element in src/app.html
|
|
adapter: adapter({
|
|
fallback: 'index.html'
|
|
}),
|
|
vite: {
|
|
build: {
|
|
rollupOptions: {
|
|
plugins: [analyze()],
|
|
// external: ['updux','@yanick/updeep']
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|