Skip to content

Instantly share code, notes, and snippets.

@AaronSadlerUK
Created October 6, 2021 18:40
Show Gist options
  • Select an option

  • Save AaronSadlerUK/09bcd9a79ea76a6b9149455c79809e99 to your computer and use it in GitHub Desktop.

Select an option

Save AaronSadlerUK/09bcd9a79ea76a6b9149455c79809e99 to your computer and use it in GitHub Desktop.
How to use bundling and minification with Umbraco V9
[
{
"outputFileName": "wwwroot/css/site.min.css",
"inputFiles": [
"wwwroot/lib/bootstrap/dist/css/bootstrap.css",
"wwwroot/css/site.css"
]
},
{
"outputFileName": "wwwroot/js/site.min.js",
"inputFiles": [
"wwwroot/js/site.js"
],
"minify": {
"enabled": true,
"renameLocals": true
},
"sourceMap": false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment