New SPA Templates
When creating a new ASP.NET Core application using Visual Studio 2017 Preview 3, there are now three new templates available for SPAs as shown in the screenshot below.
TypeScript and Webpack
Another new thing that's been added is support for the Webpack module bundler. Webpack is added to a project as a Node.js module. It is not related to Task Runner. Webpack is run as part of the build. It takes care of bundling and minification, too.
webpack.config.js is the configuration file for Webpack and this is the place where all bundling and minifying rules are defined. You can add your own rules there.