-
Notifications
You must be signed in to change notification settings - Fork 481
ngconfig.json is a bad pattern #576
Comments
Good idea! Another thing is maybe we should re-label the "examples" to "testing-playground" or some other name. It's used just so that we can test changes made to Universal/etc modules, and run through some live pseudo scenarios. Ideally we don't want people to follow what's going on in those since the setup is crazy! |
good point. |
As mentioned in ngTeam slack, ngc has problems with multiple entry files. For example, if I have tsAlex also mentioned Microsoft/TypeScript/issues/9876 typescript@next has this feature to help with this |
closing this since we need to create a tsconfig for each platform |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I created the
ngc
configuration in such a way that it can live in thetsconfig.json
file along with typescript settings.Ultimately the plan is for
tsc
to replacengc
once the extensibility-model branch is worked out.Users should not need a separate copy of their
tsconfig.json
just to run ngc on it. This antipattern exists in the universal examples which makes me concerned that lots of users are copy-pasta into their apps and losing maintainability and reproducibility...The text was updated successfully, but these errors were encountered: