Skip to content

Commit

Permalink
chore: migrate config.kit.files.hooks (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
baseballyama authored Sep 12, 2022
1 parent d9c29bd commit 0fe6c20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion svelte.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ const config = {
files: {
routes: path.join(dirname, "./docs-svelte-kit/src/routes"),
appTemplate: path.join(dirname, "./docs-svelte-kit/src/app.html"),
hooks: path.join(dirname, "./docs-svelte-kit/src/hooks"),
hooks: {
server: path.join(dirname, "./docs-svelte-kit/src/hooks/server"),
client: path.join(dirname, "./docs-svelte-kit/src/hooks/client"),
},
lib: path.join(dirname, "./docs-svelte-kit/src/lib"),
assets: path.join(dirname, "./docs-svelte-kit/statics"),
},
Expand Down

0 comments on commit 0fe6c20

Please sign in to comment.