Skip to content

Commit 4d5542e

Browse files
committed
feat: support bin as an input type modifier
1 parent 6001520 commit 4d5542e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/parse-package-json/get-export-entries.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export const parseCliInputFlag = (distPath: string): ExportEntry => {
206206
if (distPath.includes('=')) {
207207
const [type, filePath] = distPath.split('=');
208208
distPath = filePath;
209-
isExecutable = type === 'binary';
209+
isExecutable = type === 'bin' || type === 'binary';
210210
}
211211
return {
212212
outputPath: normalizePath(distPath),

0 commit comments

Comments
 (0)