a-r-m-i-n / min

TYPO3 CMS extension "min" - Compressed CSS, JS and HTML output for TYPO3
7 stars 7 forks source link

[BUG] CSS compression filename conflict #24

Closed mehdichaouch closed 2 months ago

mehdichaouch commented 5 months ago

Hello,

I found a bug, when two modules have the same CSS filename there is a conflict with the assetCollector.compressCss

Exemple:

the vendor_module2 CSS will be not rendered with this configuration:

plugin.tx_min.assetCollector {
    compressCss = 1
}

when compressCss = 0, it will work.

In my case I had to change the filename from main.css to card.css to avoid this hidden conflict, and have the min-compressed file:

2024-04-23_11-44

2024-04-23_11-45

This impact CSS, I didn't check for JS files.

Best,