It's unfortunately not possible to see the output of the compiler from Studio Pro. One way to get a log would be to kill the process and check the output in the SPro log file. However, we do explicitly run the compilation with a silent mode flag, so not sure if that includes @debug
statements. It might be easier to just run sass manually on the deployment/sass/main.scss
file. This would be close to how Studio Pro compiles sass (when running inside an app dir):
& 'C:\Program Files\Mendix\10.12.0.38909\modeler\tools\sass\sass.bat' --no-unicode --error-css --embed-sources -s compressed .\deployment\sass\main.scss .\theme-cache\web\theme.compiled.css
Takuma
Thanks for this valuable info!
Question:
Is the theme.compiled.css really generated with the -s compressed flag?
Since the theme.compiled.css generated by Studio Pro still has the blank spaces/extra characters ...
Depending on the complexity of your styling, this means a significant amount of kilobytes that can be saved ...