Skip to content

Commit

Permalink
fix(sveltekit): export default for all generators
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-twardziak committed Oct 14, 2024
1 parent ae156f7 commit 61df76d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sveltekit/src/generators/application/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ export async function applicationGenerator(

return runTasksInSerial(...tasks);
}

export default applicationGenerator;
2 changes: 2 additions & 0 deletions packages/sveltekit/src/generators/component/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ export async function componentGenerator(
createComponentInProject(tree, options);
addExportsToBarrel(tree, options);
}

export default componentGenerator;
2 changes: 2 additions & 0 deletions packages/sveltekit/src/generators/library/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ export async function libraryGenerator(
createLibInProject(tree, options);
addExportsToBarrel(tree, options);
}

export default libraryGenerator;
2 changes: 2 additions & 0 deletions packages/sveltekit/src/generators/route/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ export interface SvelteRouteSchema {
export async function routeGenerator(tree: Tree, options: SvelteRouteSchema) {
createRouteInProject(tree, options);
}

export default routeGenerator;

0 comments on commit 61df76d

Please sign in to comment.