Commit Graph

16 Commits

Author SHA1 Message Date
SteveSandersonMS
0615578d9a Switch from inline to external source maps. This avoids several problems with inline source maps in VS 2015 (at least as of Update 3). 2016-10-21 10:10:20 +01:00
SteveSandersonMS
f26068b62b Temporarily disable use of SourceMapDevToolPlugin wrapper as it might be possible to remove it shortly 2016-10-11 19:04:17 +01:00
SteveSandersonMS
30a694450c Make source maps compatible with VS/VSCode debugging (fix file paths, and strip out the "charset=utf-8;" segments from inline sourceMappingURLs) 2016-10-11 16:11:12 +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
f79936c104 In Angular2Spa webpack config, allow html/css files from node_modules to be loaded via Webpack. 2016-09-27 10:03:54 +01:00
SteveSandersonMS
925f47fece In Angular2Spa, use css-loader so you can reference external images from CSS files, etc. 2016-09-20 16:13:25 +01:00
SteveSandersonMS
19684f2b7d In Angular2Spa template, use per-component scoped styles. Fixes common config issues like #234. 2016-09-20 10:06:23 +01:00
SteveSandersonMS
4ea7eb195e Simplify webpack config. Eliminate dev/prod override files. 2016-09-19 14:13:20 +01:00
SteveSandersonMS
f4afb25a2d Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249 2016-07-18 16:54:52 +01:00
SteveSandersonMS
73caae2b78 Replace all references to ASPNET_ENV with ASPNETCORE_ENVIRONMENT 2016-05-02 13:13:48 -07:00
SteveSandersonMS
4dcf63dab4 Change Angular2 template to use vendor DLL too. Temporarily disabled server-side prerendering. 2016-03-01 14:30:42 +00:00
SteveSandersonMS
a5509b86e4 In Angular 2 template, always load CSS via ExtractTextPlugin (otherwise you get a bad FOUC when loading server-prerendered page) 2016-03-01 00:40:37 +00:00
SteveSandersonMS
f830a5f90a For Angular 2 template, compile directly from TS->ES5. Remove use of Babel altogether. 2016-03-01 00:13:57 +00:00
SteveSandersonMS
47ba251923 Add server-side prerendering for Angular 2 template 2016-02-29 19:29:04 +00:00
SteveSandersonMS
de488987c1 Add Angular2Spa template 2016-02-23 23:13:20 +00:00