Closed
Description
Currently we have two ways to define the files include in the compilation process.
- Include all files from the root directory except the files and directories defined in the
exclude
property Support "exclude" property in tsconfig.json #3188 - Include all files defined in the
files
property https://github.com/Microsoft/TypeScript/wiki/tsconfig.json
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
.
Metadata
Metadata
Assignees
Labels
No labels