Skip to content

ts-node field declared in extended tsconfig.json #1328

Description

@jjangga0214

Desired Behavior

When "ts-node" field is configured in extended tsconfig, it should also work.

For example, let's say there are tsconfig.root.json and tsconfig.json.
"ts-node" is declared in tsconfig.root.json and tsconfig.json extends it.

tsconfig.root.json

{
"compilerOptions": {
// ... some configuration
},
"ts-node": {
"transpileOnly": true,
"transpiler": "ts-node/transpilers/swc-experimental"
}
}

tsconfig.json

{
"extends": "tsconfig.root.json"
}

If we use tsconfig.json with ts-node, currently it does not read "ts-node" field from tsconfig.root.json though extended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions