Skip to content

PostCSS support #141

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

Closed
svenfinger opened this issue Feb 9, 2022 · 2 comments
Closed

PostCSS support #141

svenfinger opened this issue Feb 9, 2022 · 2 comments

Comments

@svenfinger
Copy link

I’m trying out this Gem as a replacement for CSS Bundling where I use a custom build process via package.json (tailwindcss --postcss --cssnano -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css) that runs via bin/dev.

However, I need to use features such as nesting and import and for that I must use PostCSS.

Similar to #138 this would require the task to have more options such as --postcss. Am I missing something or is this currently not possible (or not intended?) to be configured in that way?

@dixpac
Copy link
Contributor

dixpac commented Feb 12, 2022

Not possible nor intended.
Afaik postcss requires node, so if you are going with that route then you might be better with using esbuild or webpack.

@svenfinger
Copy link
Author

Thanks for clarifying!

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

No branches or pull requests

2 participants