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

Ensure we can use @import 'tailwindcss/...' without node_modules #8537

merged 2 commits into from Jun 7, 2022


Copy link

This PR fixes an issue where postss-import crashes on missing @import "tailwindcss/base" if you
don't have a node_modules folder. This can happen if you are using npx tailwindcss ... without a
node_modules folder.

This is useful if you are using `npx tailwindcs ...` and to prevent
that postcss-import crashes on the tailwind specific imports which we
will replace anyway.
@RobinMalfait RobinMalfait force-pushed the fix/imports-without-node-modules branch from d49cb2f to 8571f74 Compare June 7, 2022 16:58
@RobinMalfait RobinMalfait merged commit a0c2ee8 into master Jun 7, 2022
@RobinMalfait RobinMalfait deleted the fix/imports-without-node-modules branch June 7, 2022 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant