Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subfolder domain path and outputdir #36

Open
Cyasi opened this issue Oct 1, 2020 · 0 comments
Open

Subfolder domain path and outputdir #36

Cyasi opened this issue Oct 1, 2020 · 0 comments

Comments

@Cyasi
Copy link

Cyasi commented Oct 1, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant