WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 weeks ago

Last modified 4 weeks ago

#52435 closed feature request (wontfix)

Possibilities to include CSS preprocessors compiler by default in WordPress

Reported by: malavvasita Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: ui, css Cc:

Description

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 (3)

#1 @aristath
6 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...

#2 @malavvasita
6 weeks ago

  • Resolution set to wontfix
  • Status changed from new to closed

#3 @desrosj
4 weeks ago

  • Component changed from External Libraries to Build/Test Tools
  • Milestone Awaiting Review deleted

I tend to agree. A preprocessor would not meet the threshold of the 80/20 rule (benefiting the majority of WordPress users).

Note: See TracTickets for help on using tickets.