mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Minify: css-clean use returnPromise in options
This commit is contained in:
parent
4ed436dbbe
commit
849f3ec8e1
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ const compressCSS = async (filename, ROOT_DIR) => {
|
|||
const output = await new CleanCSS({
|
||||
rebase: true,
|
||||
rebaseTo: basePath,
|
||||
returnPromise: true,
|
||||
}).minify([absPath]);
|
||||
return output.styles;
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue