See the changelog for changes and roadmap and the wiki for more details. Features
A note about encodingAll files without a BOM (Byte Order Mark) is treated as UTF-8. If you see strange characters in the output bundle files, you may want to consider saving the input files as UTF-8 or an encoding that lets you specify a BOM. BundlingSelect 2 or more of the same type of files in Solution Explorer to create a bundle. Any edits being made to the source files will instantly produce updated bundle file output. The bundle configuration is stored in a file called MinificationMinify any JS, CSS or HTML file by right-clicking it in Solution Explorer. That will create a [filename].min.[ext] and nest it under the original file. When the original file is modified, a new min file is produced instantly. Bundle on build / CI supportIn ASP.NET MVC and WebForms projects you can enable bundling and minification as part of the build step. Simply right-click the Clicking the menu item will prompt you with information about what will happen if you click the OK button. A NuGet package will be installed into the For ASP.NET Core projects, see the wiki Update all bundlesYou can run the bundler on all Source mapsSource maps are supported for JavaScript minification only at this time. A To enable source maps, add this property to the "sourceMap": true Task Runner ExplorerGet a quick overview of the files you've specified or execute a bundle directly in Task Runner Explorer. You can even set bindings so that bundling/minification happens automatically during certain Visual Studio events, such as BeforeBuild and Project Open. Suppress output file generationThere are cases when you don't want the extension to listen for file changes and generate bundled and minified output. That could be if you want to use Gulp to use To suppress the output, remove the checkbox located in the right-click menu of Convert to GulpThis feature makes it easy to start using Gulp based on what's already configured in The Read more about this and see code samples on the wiki. bundleconfig.jsonThe extension adds a Here's an example of what that file looks like: [ { "outputFileName": "output/bundle.css", "inputFiles": [ "css/lib/**/*.css", // globbing patterns are supported "css/input/site.css" ], "minify": { "enabled": true, "commentMode": "all" } }, { "outputFileName": "output/all.js", "inputFiles": [ "js/*.js", "!js/ignore.js" // start with a ! to exclude files ] }, { "outputFileName": "output/app.js", "inputFiles": [ "input/main.js", "input/core/*.js" // all .js files in input/core/ ] } ] ContributeCheck out the contribution guidelines if you want to contribute to this project. For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project. License
|