Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make PostCSS optional…possibly off by default #862

Open
jaredcwhite opened this issue Mar 7, 2024 · 3 comments
Open

feat: make PostCSS optional…possibly off by default #862

jaredcwhite opened this issue Mar 7, 2024 · 3 comments
Labels
process Improve the development process for the repo
Milestone

Comments

@jaredcwhite
Copy link
Member

Two things have happened in the last year or two:

Because of this, and because I rarely reach for any particular PostCSS plugins in my own builds any more—in fact more and more my CSS is contained within declarative shadow DOM which I don't put through any processor—it's starting to feel like PostCSS is unnecessary complexity. Like Sass, it's a product of a bygone age.

So I find myself mulling over the idea of making PostCSS optional. And if that's a given, then the question becomes: do we truly make it an option? A "bundled configuration" perhaps? And not the default?

I'd love feedback from the community on this! If we go down this road, it makes the most sense to do it for Bridgetown 2.0. Otherwise I'd want to wait and revisit for Bridgetown 3.0.

@jaredcwhite jaredcwhite added the process Improve the development process for the repo label Mar 7, 2024
@jaredcwhite jaredcwhite added this to the 2.0 milestone Mar 7, 2024
@ayushn21
Copy link
Member

ayushn21 commented Mar 7, 2024

I find myself mulling over the idea of making PostCSS optional.

I'm always in favour of something that removes a build step.

do we truly make it an option?

I think we should still have it baked in so it could be set up with a flag passed into bridgetown new, but a default setup wouldn't have it included. I reckon that's the path we should take ....

@brandondrew
Copy link

brandondrew commented Mar 7, 2024

I think as long as it is easy by default then off by default is not going to cause anyone any pain.

@jaredcwhite
Copy link
Member Author

@brandondrew @ayushn21 right, I'm definitely in favor of keeping it an easy option, but maybe we don't include it by default on every bridgetown new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process Improve the development process for the repo
Projects
None yet
Development

No branches or pull requests

3 participants