|
|
@@ -1100,7 +1100,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
static async resolveImportURLs(stylesheetContent, baseURI, options) {
|
|
|
stylesheetContent = DomProcessorHelper.resolveStylesheetURLs(stylesheetContent, baseURI, options);
|
|
|
if (options.compressCSS) {
|
|
|
- // stylesheetContent = DomUtil.removeCssComments(stylesheetContent);
|
|
|
+ stylesheetContent = DomUtil.removeCssComments(stylesheetContent);
|
|
|
}
|
|
|
const imports = DomUtil.getImportFunctions(stylesheetContent);
|
|
|
await Promise.all(imports.map(async cssImport => {
|