Add bundling and minification

This commit is contained in:
Robert Marshall 2019-04-20 13:00:43 +01:00
parent 0187aec52a
commit 56cca63b2d
3 changed files with 25 additions and 1 deletions

19
Website/bundleconfig.json Normal file
View file

@ -0,0 +1,19 @@
[
{
"outputFileName": "wwwroot/css/site.min.css",
"inputFiles": [
"wwwroot/css/site.css"
]
},
{
"outputFileName": "wwwroot/js/site.min.js",
"inputFiles": [
"wwwroot/js/site.js"
],
"minify": {
"enabled": true,
"renameLocals": true
},
"sourceMap": false
}
]