aotds-docks/svelte.config.js

22 lines
501 B
JavaScript
Raw Normal View History

2022-03-01 17:42:33 +00:00
import adapter from "@sveltejs/adapter-static";
import analyze from "rollup-plugin-analyzer";
2021-05-17 13:48:31 +00:00
/** @type {import('@sveltejs/kit').Config} */
export default {
2022-03-01 17:42:33 +00:00
kit: {
2022-04-02 23:54:30 +00:00
// outDir: './docs',
2022-03-01 17:42:33 +00:00
// hydrate the <div id="svelte"> element in src/app.html
2022-04-02 23:54:30 +00:00
adapter: adapter({
fallback: 'index.html'
}),
2022-03-01 17:42:33 +00:00
vite: {
build: {
2021-05-17 13:48:31 +00:00
rollupOptions: {
2022-03-01 17:42:33 +00:00
plugins: [analyze()],
// external: ['updux','@yanick/updeep']
},
},
},
},
2021-05-17 13:48:31 +00:00
};