Commit Graph

15 Commits

Author SHA1 Message Date
Scott Addie
3a4936dbf7 Add '-loader' suffix to all Webpack loader references 2016-11-21 10:14:37 +00:00
SteveSandersonMS
3568476cca aspnet-webpack auto-loads 'event-source-polyfill' on client when HMR is enabled. This requires 'event-source-polyfill' to be included in the client-side bundle, so it's also now added to all the templates' vendor bundles. Fixes #365. 2016-10-10 12:24:07 +01:00
SteveSandersonMS
e87aa1f088 Change Angular2Spa template to build server (prerendering) bundle explicitly. This simplifies deployment, fixes various compatibility issues (like #306) and makes debugging much easier for developers using the template. 2016-09-28 10:55:45 +01:00
SteveSandersonMS
30dfe5e8b5 In Angular2Spa webpack config, use "--env.prod" arg to trigger prod builds instead of ASPNETCORE_ENVIRONMENT env var. This is to guarantee production mode when publishing. 2016-09-28 10:04:16 +01:00
SteveSandersonMS
ca99a2304c Remove style-loader from Angular2Spa vendor bundle as it's not used at all. Is used by other templates though. 2016-09-19 16:53:20 +01:00
SteveSandersonMS
4ea7eb195e Simplify webpack config. Eliminate dev/prod override files. 2016-09-19 14:13:20 +01:00
SteveSandersonMS
297b4dbd92 Move more modules to vendor bundle. Remove explicit reflect-metadata reference (no longer needed). 2016-09-19 13:09:12 +01:00
SteveSandersonMS
7a80d905b8 In Angular 2 template, include reflect-metadata and zone.js in vendor bundle 2016-09-15 12:07:49 +01:00
SteveSandersonMS
2fe06ea784 Make the dependency on es6-shim explicit, and include it in the vendor bundle 2016-07-26 14:57:14 +01:00
SteveSandersonMS
8f2117cf89 Upgrade Angular template to Angular 2 RC3 and migrate to new @angular/router 2016-06-28 12:40:14 +01:00
Andrei Tserakhau
58a1aa3538 chore(ng2-template): upgrade angular 2 template to rc1 version 2016-05-17 16:00:16 +01:00
SteveSandersonMS
73caae2b78 Replace all references to ASPNET_ENV with ASPNETCORE_ENVIRONMENT 2016-05-02 13:13:48 -07:00
SteveSandersonMS
1cb4dd920c Partial migration to ASP.NET Core 1.0 RC2 (done the core packages, plus the ES2015/Webpack samples, and the Angular2Spa template). Only verified it builds/runs on .NET Core - not checked on net451. 2016-05-02 13:13:47 -07:00
SteveSandersonMS
ff5cdd1815 Fix Angular2Spa production builds 2016-03-24 12:07:28 +00:00
SteveSandersonMS
4dcf63dab4 Change Angular2 template to use vendor DLL too. Temporarily disabled server-side prerendering. 2016-03-01 14:30:42 +00:00