Skip to content

Commit

Permalink
fix: respect custom tsconfig path for esModuleInterop (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
tricoder42 committed Feb 26, 2020
1 parent b17a0be commit 4ec56fc
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 4ec56fc

Please sign in to comment.