Skip to content

Commit

Permalink
chore: relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Jan 24, 2024
1 parent f7c9500 commit a8145ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class EntryGenerator {
public run() {
const collection = this.collect();
const exportCodes = collection.exportFiles
.filter(path => relative(collection.configurationFilepath, path) !== '')
.filter(path => posix.relative(collection.configurationFilepath, path) !== '')
.map(path => {
return `export * from './${posix.relative(this.sourceDir, path)
.replace(extname(path), '')
Expand Down

0 comments on commit a8145ad

Please sign in to comment.