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
Referenced projects must have the new composite setting enabled.
and the solutions-style project generated by angular-cli does not have the composite setting enabled.
The documentation might be wrong, idk, but must is pretty unambiguous. It seems that tsc does compile, but it might have other impacts (performance, ide features not working, just guessing at that point)
🔬 Minimal Reproduction
npx ng new superduper
cd superduper
npx ng generate library foo
egrep -r composite *json projects/foo/*json
The composite compiler option is not needed for solution style tsconfig, it is needed when you using the project references to build one or more projects at the same time. Looks to me that the documentation is not up to date.
Also, it's important to note that in version 10.1, we'll be removing solutions style tsconfig see: #18478
Command (mark with an
x
)Description
The typescript docs say (https://www.typescriptlang.org/docs/handbook/project-references.html):
and the solutions-style project generated by angular-cli does not have the composite setting enabled.
The documentation might be wrong, idk, but must is pretty unambiguous. It seems that tsc does compile, but it might have other impacts (performance, ide features not working, just guessing at that point)
🔬 Minimal Reproduction
🌍 Your Environment
The text was updated successfully, but these errors were encountered: