Skip to content

If set rootDir in tsconfig.json which under project, the ts-loader can't handle the piping output of ts-import-plugin #5

@zheeeng

Description

@zheeeng

In tsconfig.json, I set the rootDir option:

"compilerOptions": {
    "rootDir": "src"
}

The compiler console throw error:

File 'index.tsx' is not under 'rootDir' '/Users/XXX/Workspace/project/src'. 'rootDir' is expected to contain all source files.

Any idea on it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions