![]() ![]() ![]() Optionally specify minification options "outputFileName": "// An array of relative input file paths. In my Solution Explorer is a "bundleconfig.json" like this: // Configure bundling and minification for the project. It's just minutes to enable and it's quite nice. Bundling isn't on by default but the configuration you need IS included by default. I'm in Visual Studio 2017 and I go File | New Project | ASP.NET Core Web App. So how do you find balance? Here's how it works. Additionally, some devs don't need the Grunt/Gulp/npm overhead while others absolutely do. The key is to find a balance that gives you easy access to development versions of JS/CSS assets when at dev time, while making it "zero work" to put minified stuff into production. There's runtime bundling on ASP.NET 4.x but in recent years web developers have used tools like Grunt or Gulp to orchestrate a client-side build process to squish their assets. Please drop a comment below if you have any queries.Maria and I were updating the NerdDinner sample app (not done yet, but soon) and were looking at various ways to do bundling and minification of the JSS and CS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |