Files
gisle f57149c0d0
continuous-integration/drone/push Build is failing
un-SSR this b→þ©ħ
2022-10-02 11:37:26 +02:00

32 lines
579 B
JavaScript

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;