mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 06:50:36 +08:00

* node runtime parity * Add sveltekit templates changelog update svelte config * Update v3/internal/templates/sveltekit-ts/template.json * Update v3/internal/templates/sveltekit/template.json --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
22 lines
688 B
JavaScript
22 lines
688 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
|
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
|
adapter: adapter({
|
|
pages: 'dist',
|
|
assets: 'dist',
|
|
fallback: undefined,
|
|
precompress: false,
|
|
strict: true
|
|
})
|
|
}
|
|
};
|
|
|
|
export default config;
|