Support for CSS/JavaScript processors #25
Labels
enhancement
New feature or request
specification-needed
Help finishing the specification before working on this
Milestone
Define a way to integrate processors for CSS and JavaScript. Those could be: PostCSS, Sass/SCSS, Less, Coffee-Script, Babel, …
Current situation
CSS and JavaScript can be added via:
And retrieved via:
Pre processors
Languages that require a preprocessor (for example Sass, SCSS, Less, Coffee-Script), must use their own content type:
Those need a hook to be converted into either CSS or JavaScript before rendering the document.
“Post” processors
Autoprefixer and BabelJS should convert either CSS or JavaScript after the pre processors have been converted and before the document gets rendered.
Open questions
The text was updated successfully, but these errors were encountered: