Skip to content

Commit

Permalink
Merge pull request #1 from NicolasThierion/NicolasThierion-patch-1
Browse files Browse the repository at this point in the history
fix: use compilerOptions.rootDir to filter files
  • Loading branch information
NicolasThierion authored Oct 24, 2020
2 parents 35b04d7 + 05cc046 commit 00fe12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-options-overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ export function createFilter(context: IContext, pluginOptions: IOptions, parsedC

context.debug(() => `included:\n${JSON.stringify(included, undefined, 4)}`);
context.debug(() => `excluded:\n${JSON.stringify(excluded, undefined, 4)}`);
return createRollupFilter(included, excluded);
return createRollupFilter(included, excluded, { resolve: parsedConfig.options.rootDir });
}

0 comments on commit 00fe12f

Please sign in to comment.