标签:
Files globs will be available in TypeScript 2.0, so in the meantime, we need to use "exclude" and "rootDir" to configure which files to load. This lesson shows how to switch from "files" to "exclude".
{ "compilerOptions": { "rootDir": "src", "module": "commonjs", "target": "es5", "noImplicitAny": false, "sourceMap": false, "outDir": "./dist", "noEmitOnError": true }, "exclude": [ "node_modules" ] }
[TypeScript] Using Exclude and RootDir until File Globs Lands in 2.0.
标签:
原文地址:http://www.cnblogs.com/Answer1215/p/5571893.html