Skip to content

Commit d6f6bfd

Browse files
committed
fix(svelte): fix incorrect frontendDist path in svelte template
1 parent 782f136 commit d6f6bfd

File tree

1 file changed

+2
-0
lines changed
  • templates/{% if template == 'svelte' %}.{% endif %}/{{ project_name }}

1 file changed

+2
-0
lines changed

templates/{% if template == 'svelte' %}.{% endif %}/{{ project_name }}/svelte.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ const config = {
1010
preprocess: vitePreprocess(),
1111
kit: {
1212
adapter: adapter({
13+
// match `build.frontendDist` in `tauri.conf.json`
14+
pages: "dist",
1315
fallback: "index.html",
1416
}),
1517
},

0 commit comments

Comments
 (0)