mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 01:59:45 +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>
20 lines
591 B
JavaScript
20 lines
591 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
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;
|