diff --git a/.gitignore b/.gitignore index 7e3be73..a1998d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store node_modules /.svelte -/build /functions .svelte-kit/ .vercel_build_output/ diff --git a/static/.nojekyll b/static/.nojekyll new file mode 100644 index 0000000..334496b --- /dev/null +++ b/static/.nojekyll @@ -0,0 +1 @@ +nojekyll diff --git a/svelte.config.js b/svelte.config.js index bc88df1..8245a9a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,22 +1,29 @@ -import adapter from '@sveltejs/adapter-static'; -import analyze from 'rollup-plugin-analyzer'; +import adapter from "@sveltejs/adapter-static"; +import analyze from "rollup-plugin-analyzer"; /** @type {import('@sveltejs/kit').Config} */ export default { - kit: { - // hydrate the
element in src/app.html - target: '#svelte', - adapter: adapter(), - files: { - lib: './src', - assets: './public', - }, - vite: { - build: { + kit: { + // hydrate the
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'] - } - } - }}, + plugins: [analyze()], + // external: ['updux','@yanick/updeep'] + }, + }, + }, + paths: { + base: "/aotds-docks", + }, + }, };