We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6552f commit 13406cbCopy full SHA for 13406cb
src/generators/legacy-html-all/index.mjs
@@ -88,13 +88,13 @@ export default {
88
{ skipGitHub: true, skipGtocPicker: true }
89
);
90
91
- if (output) {
92
- // We minify the html result to reduce the file size and keep it "clean"
93
- const minified = HTMLMinifier.minify(Buffer.from(result), {});
+ // We minify the html result to reduce the file size and keep it "clean"
+ const minified = HTMLMinifier.minify(Buffer.from(result), {});
94
+ if (output) {
95
await writeFile(join(output, 'all.html'), minified);
96
}
97
98
- return result;
+ return minified;
99
},
100
};
0 commit comments