Skip to content

Commit

Permalink
fix: respect custom tsconfig path for esModuleInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
tricoder42 authored and agilgur5 committed Feb 4, 2020
1 parent a56894f commit 9ea7d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function createRollupConfig(

let tsconfigJSON;
try {
tsconfigJSON = await fs.readJSON(paths.tsconfigJson);
tsconfigJSON = await fs.readJSON(opts.tsconfig || paths.tsconfigJson);
} catch (e) {}

return {
Expand Down

0 comments on commit 9ea7d39

Please sign in to comment.