|
|
@@ -729,7 +729,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
stylesheetContent = await DomProcessorHelper.resolveImportURLs(element.textContent, this.baseURI, options);
|
|
|
}
|
|
|
const stylesheet = cssTree.parse(stylesheetContent);
|
|
|
- if (options.compressCSS) {
|
|
|
+ if (this.options.compressCSS) {
|
|
|
const removedRules = [];
|
|
|
for (let cssRule = stylesheet.children.head; cssRule; cssRule = cssRule.next) {
|
|
|
if (cssRule.data.type == "Raw" && cssRule.data.value && cssRule.data.value.trim().startsWith("//")) {
|