mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 02:11:28 +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>
17 lines
402 B
JavaScript
17 lines
402 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig, searchForWorkspaceRoot } from 'vite';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
fs: {
|
|
allow: [
|
|
// search up for workspace root
|
|
searchForWorkspaceRoot(process.cwd()),
|
|
// your custom rules
|
|
'./bindings/*',
|
|
],
|
|
},
|
|
},
|
|
plugins: [sveltekit()]
|
|
});
|