Skip to content

Commit

Permalink
fixes path for export in main file
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenist committed Nov 25, 2023
1 parent aa23b15 commit 5659dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/create-lib/src/template/src/__mainFileName__.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CreateLibOptions } from "../../types/CreateLibOptions"

export default function generate(_options: CreateLibOptions) {
return 'export * from "./lib/hello"'
export default function generate(options: CreateLibOptions) {
return `export * from "./lib/${options.libFolderName}"`
}

0 comments on commit 5659dd4

Please sign in to comment.