Skip to content

Extending tsconfig does not work #8

@phil-tutti

Description

@phil-tutti

Having a tsconfig.prod.json looking like

{
  "extends": "./tsconfig.json",
  "include": ["src/**/*"],
  "exclude": ["**/*.test.ts*", "**/*/mocks.ts", "node_modules", "testing", "**/*.stories.tsx"]
}

does not seem to work with at least the alias plugin. My tsconfig.json has compileOptions.paths defined, and it works correctly when I target tsconfig.json directly. However, using the above extends property, compilerOptions.paths do not seem to be picked up.

Edit: this library could be used to load the config properly

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions