public
/
sass_css_cache.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06e96b1
)
Send style option to SASS to produce minified CSS output
master
author
Nick Downing
<nick@ndcode.org>
Tue, 25 Jan 2022 07:00:37 +0000
(18:00 +1100)
committer
Nick Downing
<nick@ndcode.org>
Tue, 25 Jan 2022 07:00:37 +0000
(18:00 +1100)
SassCSSCache.js
patch
|
blob
|
history
diff --git
a/SassCSSCache.js
b/SassCSSCache.js
index
43ceb0d
..
8c7ee9f
100644
(file)
--- a/
SassCSSCache.js
+++ b/
SassCSSCache.js
@@
-47,7
+47,7
@@
SassCSSCache.prototype.build = async function(key, result) {
async temp_pathname => {
let render = await sass.compileAsync(
key,
- {loadPaths: [path.posix.dirname(key)]}
+ {loadPaths: [path.posix.dirname(key)]
, style: 'compressed'
}
)
await fs_writeFile(
temp_pathname,