config for page env
This commit is contained in:
parent
c047e5f5a3
commit
22960953fc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,7 +1,6 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
/.svelte
|
/.svelte
|
||||||
/build
|
|
||||||
/functions
|
/functions
|
||||||
.svelte-kit/
|
.svelte-kit/
|
||||||
.vercel_build_output/
|
.vercel_build_output/
|
||||||
|
1
static/.nojekyll
Normal file
1
static/.nojekyll
Normal file
@ -0,0 +1 @@
|
|||||||
|
nojekyll
|
@ -1,22 +1,29 @@
|
|||||||
import adapter from '@sveltejs/adapter-static';
|
import adapter from "@sveltejs/adapter-static";
|
||||||
import analyze from 'rollup-plugin-analyzer';
|
import analyze from "rollup-plugin-analyzer";
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
export default {
|
export default {
|
||||||
kit: {
|
kit: {
|
||||||
// hydrate the <div id="svelte"> element in src/app.html
|
// hydrate the <div id="svelte"> element in src/app.html
|
||||||
target: '#svelte',
|
target: "#svelte",
|
||||||
adapter: adapter(),
|
adapter: adapter({
|
||||||
files: {
|
pages: "docs",
|
||||||
lib: './src',
|
assets: "docs",
|
||||||
assets: './public',
|
}),
|
||||||
},
|
files: {
|
||||||
vite: {
|
lib: "./src",
|
||||||
build: {
|
assets: "./public",
|
||||||
|
},
|
||||||
|
vite: {
|
||||||
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
plugins: [ analyze() ],
|
plugins: [analyze()],
|
||||||
// external: ['updux','@yanick/updeep']
|
// external: ['updux','@yanick/updeep']
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}},
|
},
|
||||||
|
paths: {
|
||||||
|
base: "/aotds-docks",
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user