Hi, not very familiar with the webpack tool, but its slow to build my SPA using VS2017 and JavaScriptServices, about 50 seconds. Is there some way to cache the webpack output for the Telerik angular modules/css? Specifically the requests :
Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request starting HTTP/1.1 GET http://localhost:52626/dist/main.css?v=lTMQDsn6qiFEshoAdXck56k4BIPX0Y7qdkml_OMV67E
Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request starting HTTP/1.1 GET http://localhost:52626/dist/main-client.js?v=9miPYLaRFn3FUiIl4DMnHaXSLA7W1TNPUmhx5OdN8Jw
seem to be part of the problem as the response are:
Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request finished
in
39309.1692ms 200 text/css; charset=UTF-8
Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request finished
in
41590.2456ms 200 application/javascript; charset=UTF-8
This is the start of the webpack output:
Microsoft.AspNetCore.NodeServices: Information: webpack built e833ab89a2ae6f1de16b
in
47695ms
Microsoft.AspNetCore.NodeServices: Error: Hash: e833ab89a2ae6f1de16b
Version: webpack 2.7.0
Time
: 47695ms
Asset
Size
Chunks Chunk Names
main-client.js 7.25 MB 0 [emitted] [big] main-client
main.css 456 kB 0 [emitted] [big] main-client
main-client.js.map 8.2 MB 0 [emitted] main-client
main.css.map 85 bytes 0 [emitted] main-client
chunk {0} main-client.js, main.css, main-client.js.map, main.css.map (main-client) 6.49 MB [entry] [rendered]
Sorry I don't really know more precisely what the problem is, just trying to get a fast build environment for VS2017+Telerik Angular. Note that I'm using the JavaScriptServices over the CLI as I have a many plain c# projects in the solution.