Update templates to Webpack 2 #1082

Closed
opened 2025-08-09 17:18:48 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @SteveSandersonMS on 1/27/2017

I'll merge this at the start of next week, but posting it here as a PR first just in case anyone can spot any issues.

Moving to awesome-typescript-loader improves the Angular2Spa Webpack build times (down from about 7.5s to about 4s on my machine). It makes no difference to the other templates, which were already fast to build, but I've migrated them to awesome-typescript-loader for consistency.

Anyone who reads this: please let me know if you think there are any problems with this, or some opportunity to make things simpler still with Webpack 2.

Note: If you're trying to read the diff, it makes much more sense if you ignore whitespace differences (because indentation changed). This URL will give an indentation-ignoring diff: https://github.com/aspnet/JavaScriptServices/pull/615/files?w=1

*Originally created by @SteveSandersonMS on 1/27/2017* I'll merge this at the start of next week, but posting it here as a PR first just in case anyone can spot any issues. Moving to `awesome-typescript-loader` improves the Angular2Spa Webpack build times (down from about 7.5s to about 4s on my machine). It makes no difference to the other templates, which were already fast to build, but I've migrated them to `awesome-typescript-loader` for consistency. Anyone who reads this: please let me know if you think there are any problems with this, or some opportunity to make things simpler still with Webpack 2. **Note:** If you're trying to read the diff, it makes much more sense if you ignore whitespace differences (because indentation changed). This URL will give an indentation-ignoring diff: https://github.com/aspnet/JavaScriptServices/pull/615/files?w=1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1082
No description provided.