Closed bisubus closed 7 years ago
@bisubus add "noEmit": true,
to compiler options
@artaommahe Thank you, this likely should help indeed. I'll reopen the issue if the problem won't be solved.
Where does tsconfig.json live in a standard app created with angular-cli? I am asking because a simple linux 'find' command shows nothing. I suspect it got accidentally deleted.
For each *.ts file a set of garbage files is created nearby, starting from project root:
*.js,*.js.map,*.ngsummary.json,*.ngfactory.js,*.ngfactory.js.map
*.ngsummary.json,*.ngfactory.js,*.ngfactory.js.map
are duplicated ingenDir
(<project-root>/aot/
),*.js,*.js.map
are not.This does not happen when the project is being built without ngc-webpack and AoT with the same configuration (just awesome-typescript-loader and JiT).
The setup is loosely based on https://github.com/AngularClass/angular2-webpack-starter and is quite ordinary, here are the most relevant details:
package.json
webpack.config.js
tsconfig.json