16
将Angular2 TypeScript文件和JavaScript文件分离到不同的文件夹中,可能是“ dist”文件夹
我正在使用angular.io网站上的5分钟快速入门,该网站包含这样的文件结构: angular2-quickstart app app.component.ts boot.ts index.html license.md package.json tsconfig.json tsconfig.json是这样的代码块: { "compilerOptions": { "target": "ES5", "module": "system", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false }, "exclude": [ "node_modules" ] } 还有package.json: { "name": "angular2-quickstart", "version": "1.0.0", "scripts": { "tsc": "tsc", "tsc:w": "tsc -w", "lite": "lite-server", …