You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error TS6307: File '/foo/packages/package-a/src/index.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
The file is in the program because:
Root file specified for compilation
src/index.ts(1,15): error TS6307: File '/foo/packages/package-a/src/jest-swc.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
The text was updated successfully, but these errors were encountered:
Environment
Node v18.12.1
PNPM Workspace v8
Reproduction
This is not super obvious, and I can provide a repro on demand if this is a new and/or unknown scenario.
Describe the bug
composite: true
(it is being references by another)unbuild
get an error.Additional context
The files are listed in
includes
.Removing the
composite
flag makes the problem go away and build works fine.Same problem and solution are described on SO (not for
unbuild
in particular): https://stackoverflow.com/a/70964056/1566758Full tsconfig.json
Diff that fixes the problem
Logs
The text was updated successfully, but these errors were encountered: