Skip to content

Commit

Permalink
fix slash
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Nov 24, 2024
1 parent c839d25 commit 9464eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prepare/prepare-entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ export async function collectSourceEntries(sourceFolderPath: string) {
for (const file of binMatches) {
// convert relative path to export path
const exportPath = sourceFilenameToExportFullPath(file)
const binExportPath = exportPath.replace(/^\.[\//]bin/, BINARY_TAG)
await collectSourceEntriesByExportPath(
sourceFolderPath,
exportPath,
binExportPath,
bins,
exportsEntries,
)
Expand Down

0 comments on commit 9464eef

Please sign in to comment.