WapplerSystems / ws_scss

SASS Compiler for TYPO3
12 stars 24 forks source link

Subfolder domain path and outputdir #36

Open Cyasi opened 3 years ago

Cyasi commented 3 years ago

Hello!

I hope I am right posting my issue here, because I thing the problem comes from ws_scss.

Here the config:

System: Typo3 10.4.9 ws_scss: 1.1.18 (same issue with 1.1.16)

Full Domain: http://dev.domain.com/subfolder/ -> This is the BaseUrl, also set in the SiteConfig.

setup.typoscript:

...
config {
...
    baseURL = http://dev.domain.com/subfolder/

    // Compression and Concatenation of CSS and JS Files
    compressJs = 1
    compressCss = 1
    concatenateJs = 1
    concatenateCss = 1
...
}
...
page {
    includeCSS {
        main = EXT:extension/path/to/Map.scss
        main.outputdir =
    }
}
...

I emptied the outputdir, because I want the Map.css to be generated in root subfolder/. Everything works fine here, the Map.css is included correctly via compression.

Now you set every compressing & concernate config to 0 for debugging purpose. Still everything works fine (/subfolder/path/to/some/framework.css) except of the Map.css (/Map.css). Setting the outputdir to / does nothing. Setting it to subfolder/ works but when I set compressions to 1 again the path is different again and subfolder/ is generated in subfolder/ with a new Map.css. Everything else work, I also add the other files via includecss.