mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Dependency updates
This commit is contained in:
@@ -72,7 +72,7 @@ class ClientScript extends File {
|
||||
let contents = await Promise.map(files, readFile);
|
||||
contents = contents.join('\n\n');
|
||||
if (prod) {
|
||||
const { code, error } = minify(contents, { output: { comments: false } });
|
||||
const { code, error } = await minify(contents, { output: { comments: false } });
|
||||
if (error) throw new Error(error);
|
||||
contents = code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user