Minor fine tuning

This commit is contained in:
Raymond Hill 2023-03-16 14:54:45 -04:00
parent fd9bb02aab
commit a9c7369340
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 5 additions and 10 deletions

View File

@ -110,16 +110,11 @@ async function fetchResource(url) {
let mime = response && response.headers.get('Content-Type') || '';
mime = mime.replace(/\s*;.*$/, '').trim();
const beautifierOptions = {
'end_with_newline': true,
'indent_size': 2,
'html': {
'js': {
'indent_size': 4,
},
},
'js': {
'indent_size': 4,
},
end_with_newline: true,
indent_size: 3,
js: {
max_preserve_newlines: 3,
}
};
switch ( mime ) {
case 'text/css':