Description
And one more thing for today 😅
I think it would be nice to add postcss-use plugin into build pipeline.
I think it will organically fit with package core idea - "zero-configuration". So for current builds nothing will actually change, no new filesystem APIs, no additional keys in CLI, however, the ability to use postcss plugins will suddenly appear.
The thing is that by default it's all same css (OK, with autoprefixer), but you can use @use
keyword to add postcss plugins.
@use cssnext;
:root {
--background: #222;
}
.App-header {
background-color: var(--background);
}
If that seems ligit, I already have a commit for PR - https://github.com/Jabher/create-react-app/tree/feature/postcss-use.
Metadata
Metadata
Assignees
Labels
No labels