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
|
||||
node_modules
|
||||
/.svelte
|
||||
/build
|
||||
/functions
|
||||
.svelte-kit/
|
||||
.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 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 <div id="svelte"> element in src/app.html
|
||||
target: '#svelte',
|
||||
adapter: adapter(),
|
||||
files: {
|
||||
lib: './src',
|
||||
assets: './public',
|
||||
},
|
||||
vite: {
|
||||
build: {
|
||||
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']
|
||||
}
|
||||
}
|
||||
}},
|
||||
plugins: [analyze()],
|
||||
// external: ['updux','@yanick/updeep']
|
||||
},
|
||||
},
|
||||
},
|
||||
paths: {
|
||||
base: "/aotds-docks",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user