Skip to content

Commit

Permalink
Fix parent package name to find browser resolution rules in other pac…
Browse files Browse the repository at this point in the history
…kages.
  • Loading branch information
jjrv committed Apr 13, 2016
1 parent a86c856 commit 619a1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function build(basePath: string, options?: BuildOptions) {
fixTbl['./' + path.relative(basePath, url2path(pathName))] = './' + path.relative(basePath, url2path(indexName));
return(indexName);
}).catch((err: NodeJS.ErrnoException) =>
findPackage(name, parentName)
findPackage(name, url2path(parentName))
).catch((err: any) =>
pathName
)
Expand Down

0 comments on commit 619a1dc

Please sign in to comment.