🐐
This commit is contained in:
@@ -1,17 +1,11 @@
|
|||||||
import adapter from '@sveltejs/adapter-auto';
|
import adapter from '@sveltejs/adapter-static';
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
export default {
|
||||||
const config = {
|
|
||||||
kit: {
|
kit: {
|
||||||
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
adapter: adapter({
|
||||||
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
pages: 'build',
|
||||||
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
assets: 'build',
|
||||||
adapter: adapter()
|
fallback: 'index.html',
|
||||||
},
|
})
|
||||||
vitePlugin: {
|
|
||||||
dynamicCompileOptions: ({ filename }) =>
|
|
||||||
filename.includes('node_modules') ? undefined : { runes: true }
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user