Skip to content

[BUG] @rollup/plugin-typescript doesn't recognize extendsΒ #1749

@jribbink

Description

@jribbink

Current Behavior

The official rollup typescript plugin doesn't follow extends. This means that none of our base configuration for tsconfig in the root is being used in any of the projects. Additionally, the error messages from the official plugin are quite hard to read when building fails.

Expected Behavior

Easy to read/trace errors, actually recognizes all tsconfig properties like tsc would.

Use rollup-plugin-typescript2 which is a fork that solves all these issues, with the cost of a little bit of speed.

Steps To Reproduce

Add strict mode to tsconfig root and you will see nothing gets enforced by rollup.

Environment

n/a

What are you currently working on that this is blocking?

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions