Is anyone else experiencing slow TypeScript compilation times when building an Angular 2 app with webpack and TypeScript? My build process takes around 12 seconds, which seems excessively slow due to the TypeScript compilation.
I've tried using both ts-loader and awesome-typescript-loader, but the issue persists. Removing the loader significantly reduces the build time to around 1 second.
Research suggests that some slowness is normal during TypeScript compilation, but is a 12-second build time typical?
Past suggestions have mentioned potential conflicts with node versions; I am currently using v4.4.2.
Below is my webpack configuration code in case anyone can identify any issues. The commented out code in the Uglify section is related to a bug on the Angular 2 side:
[Webpack configuration code]
I am working on a Mac, using Angular 2 beta.15 and webpack version 1.12. Here is my tsconfig.json:
[tsconfig.json code]