掲示板

How to disable SASS??

11年前 に Cosco JJ によって更新されました。

How to disable SASS??

New Member 投稿: 20 参加年月日: 12/08/22 最新の投稿
Hi,

We are using liferay 6.1 CE
In order to improve CSS perforamance, we've disabled the dynamic CSS filter, via portal-ext.properties. Now the SASS to CSS converter is disabled at runtime, and we are loading the theme CSS as static CSS files. All is OK, except for the control panel CSSs, which are now broken. We've noticed that most of the CSS files in Liferay are actually SASS files, including those outside the theme, so obviously disabling the dynamic CSS filter is causing the control panel to render incorrectly. Is this normal, or are we doing something wrong??? Is there any way to improve CSS performance at runtime without disabling SASS??

Thanks
thumbnail
11年前 に Mika Koivisto によって更新されました。

RE: How to disable SASS??

Liferay Legend 投稿: 1519 参加年月日: 06/08/07 最新の投稿
You can't disable SASS if you use any Liferay built-in themes as they all rely on SASS.
11年前 に Miguel Coxo によって更新されました。

RE: How to disable SASS??

New Member 投稿: 16 参加年月日: 10/03/01 最新の投稿
I really need a way to disable sass for my themes. It keeps filling my logs with garbage saying that css isnt valid. I know its not valid, that's why its called a hack.
In my case is absolutely necessary.
Sass is also prone to develop unexplained errors. I think a way to have the themes precompiled would be important.