mirror of
https://github.com/LukeHagar/sveltekit-electron-adapter.git
synced 2025-12-07 04:21:35 +00:00
[Release] v0.2.2
This commit is contained in:
17
examples/sveltekit-app/svelte.config.js
Normal file
17
examples/sveltekit-app/svelte.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import adapter from "@ptkdev/sveltekit-electron-adapter";
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
strict: false,
|
||||
}),
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user