Skip to content

Commit

Permalink
(feat) add +server.js option to create route (#1706)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-vanraes committed Oct 27, 2022
1 parent 07c2ab8 commit 0513c64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/svelte-vscode/src/sveltekit/generateFiles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ async function handleMultiple(uri: Uri | undefined) {
ResourceType.LAYOUT,
ResourceType.LAYOUT_LOAD,
ResourceType.LAYOUT_SERVER,
ResourceType.ERROR
ResourceType.ERROR,
ResourceType.SERVER
].map((type) => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const resource = resourcesMap.get(type)!;
Expand Down

0 comments on commit 0513c64

Please sign in to comment.