Closed caneta closed 6 years ago
Hey @caneta, not sure if you ever saw https://github.com/liferay/liferay-theme-tasks/issues/81. Just in case, I've filed https://github.com/liferay/liferay-themes-sdk/issues/46 in the new repo location to keep track of this and figure out how can we support it out of the box.
Please, feel free to add any additional feedback over there.
Thanks!
Great! Thank you Chema, I will follow that new thread with interest....for the moment I can say that the approach described above works for me without side effects.
Great to know, thanks a lot @caneta!
I'm trying to use postcss with autoprefixer during build of a Liferay 7 theme. I've tried with the following gulpfile.js:
and with the following postcss.config.js:
When I run
gulp build
postcss is working because inside build/main.css properties like:are changed into
But is this approach correct? I mean, I'm not sure if when I run postcss (after task
build:remove-old-css-dir
) is ok, and if it is a good idea to overwritemain.css
,aui.css
,main_rtl.css
andaui_rtl.css
directly inside the build directory. Any hints or suggestions? Thank you