Removed dashboard preroute
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
17060fb068
commit
e04314217b
File diff suppressed because it is too large
Load Diff
@ -1,27 +1,30 @@
|
||||
import preprocess from 'svelte-preprocess';
|
||||
import staticAdapter from '@sveltejs/adapter-static';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
import preprocess from "svelte-preprocess";
|
||||
import adapterStatic from '@sveltejs/adapter-static';
|
||||
|
||||
const config = {
|
||||
kit: {
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
adapter: staticAdapter(),
|
||||
adapter: adapterStatic({
|
||||
// default options are shown
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: null,
|
||||
precompress: false
|
||||
}),
|
||||
trailingSlash: 'always',
|
||||
prerender: {
|
||||
// This can be false if you're using a fallback (i.e. SPA mode)
|
||||
default: true
|
||||
},
|
||||
files: {
|
||||
assets: 'static'
|
||||
},
|
||||
paths: {
|
||||
base: '/dashboard',
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
preprocess: [
|
||||
preprocess({
|
||||
postcss: true
|
||||
})
|
||||
]
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
Loading…
Reference in New Issue