Skip to content

Commit

Permalink
fix: still check tsconfig with references array
Browse files Browse the repository at this point in the history
See #82
  • Loading branch information
aleclarson committed Dec 7, 2022
1 parent 7aa1047 commit 99015bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.ts
Expand Up @@ -94,6 +94,12 @@ export default (opts: PluginOptions = {}): Plugin => {
project.referenced.forEach((projectRef) => {
parsedProjects.add(projectRef)
})
// Reinsert the parent project so it's tried last. This is
// important because project references can be used to
// override the parent project.
parsedProjects.delete(project)
parsedProjects.add(project)
project.referenced = undefined
} else {
const resolver = createResolver(project)
if (resolver) {
Expand Down

0 comments on commit 99015bf

Please sign in to comment.