mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Minify CSS
This commit is contained in:
parent
097f85cab2
commit
25a7759be0
@ -12,6 +12,7 @@ var minifiedHtml = minify.minify(html, {
|
|||||||
removeScriptTypeAttributes: true,
|
removeScriptTypeAttributes: true,
|
||||||
removeStyleLinkTypeAttributes: true,
|
removeStyleLinkTypeAttributes: true,
|
||||||
minifyJS: true,
|
minifyJS: true,
|
||||||
|
minifyCSS: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
fs.writeFileSync('build/frontend.html', minifiedHtml);
|
fs.writeFileSync('build/frontend.html', minifiedHtml);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user