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
{{ message }}
Repository navigation
Property to define entry files for compilation process in tsconfig #4246
It would be much simpler if we could just define some entry files (only modules) and all dependent files will be included in the compilation process automatically. Browserify does something like this (https://github.com/substack/node-browserify#browserifyfiles--opts).
This would drastically simplify the configuration and be very helpful for isomorphic/universal JavaScript apps.
Maybe modules or entryFiles would be a good name for the property in the tsconfig.
Activity
mhegazy commentedon Aug 9, 2015
Just put them in "files"; the compiler will follow the imports and include then too. "files" is really "rootFiles".
Lenne231 commentedon Aug 9, 2015
Thanks, didn't know that!