aotds-docks/svelte.config.js

30 lines
619 B
JavaScript
Raw Normal View History

2021-06-13 17:03:52 +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 {
2021-06-13 17:03:52 +00:00
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
adapter: adapter({
pages: "docs",
assets: "docs",
}),
files: {
lib: "./src",
assets: "./public",
},
vite: {
build: {
2021-05-17 13:48:31 +00:00
rollupOptions: {
2021-06-13 17:03:52 +00:00
plugins: [analyze()],
// external: ['updux','@yanick/updeep']
},
},
},
paths: {
base: "/aotds-docks",
},
},
2021-05-17 13:48:31 +00:00
};