aotds-docks/svelte.config.js

19 lines
432 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: {
// hydrate the <div id="svelte"> element in src/app.html
adapter: adapter(),
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
};