Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#52435 new feature request

Possibilities to include CSS preprocessors compiler by default in WordPress

Reported by: malavvasita Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: ui, css Cc:


As of now, there aren't any available stable plugin solutions to use LESS / SASS / SCSS with WordPress.

For the plugin and theme development, It will be easy when we are using the preprocessors. With plain CSS, it's hard to give the advanced facilities to users.

We can include PHP compilers for that. Which will compile and generate CSS files on the fly.

Any thoughts on this?

Change History (1)

#1 @aristath
3 months ago

  • Focuses accessibility removed

Feels like plugin territory to me.
SCSS/LESS etc are developer tools, not production tools. As such I don't think they should be included in a production build.

AFAIK Jetpack includes compilers and allows users to add SCSS in the customizer, but I don't think something like that would be prudent in core...

Note: See TracTickets for help on using tickets.