You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
579 B
31 lines
579 B
import preprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: preprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: "index.html"
|
|
}),
|
|
|
|
prerender: {
|
|
enabled: true,
|
|
},
|
|
|
|
vite: {
|
|
resolve: {
|
|
alias: {
|
|
'./runtimeConfig': './runtimeConfig.browser',
|
|
},
|
|
},
|
|
}
|
|
},
|
|
};
|
|
|
|
export default config;
|