aotds-docks/svelte.config.js

30 lines
619 B
JavaScript

import adapter from "@sveltejs/adapter-static";
import analyze from "rollup-plugin-analyzer";
/** @type {import('@sveltejs/kit').Config} */
export default {
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: {
rollupOptions: {
plugins: [analyze()],
// external: ['updux','@yanick/updeep']
},
},
},
paths: {
base: "/aotds-docks",
},
},
};