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

fix runtime error with partial-import plugin #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wommy
Copy link

@wommy wommy commented Feb 12, 2022

postcss-partial-import throws an error during development because of an PostCSS major version bump, read about it here
https://evilmartians.com/chronicles/postcss-8-plugin-migration

i did some digging and found, it seems like, the only one that is current

postcss-partial-import throws an error during development because of an PostCSS major version bump,

the import glob plugin postcss-import recommends is too out of date

i did some digging and found, it seems like, the only one that is current

you can read more about it here
https://evilmartians.com/chronicles/postcss-8-plugin-migration
@netlify
Copy link

netlify bot commented Feb 12, 2022

✔️ Deploy Preview for cube-css-with-tailwind ready!

🔨 Explore the source changes: c735d1a

🔍 Inspect the deploy log: https://app.netlify.com/sites/cube-css-with-tailwind/deploys/6207278b4c40d60007f1283f

😎 Browse the preview: https://deploy-preview-4--cube-css-with-tailwind.netlify.app

@wommy
Copy link
Author

wommy commented Feb 12, 2022

i downloaded this repo and tried to run it in vite, but the postcss8 error stopped it from compiling,

after much googling, the only lead i had was in postcss-import's readme
that advised me to use postcss-easy-import
but that too had not yet been updated,
at least someone filed an issue, TrySound/postcss-easy-import#40

long story, found a fix in dimitrinicolas/postcss-import-ext-glob@34dcbc2

just tryna save some time for the next person

postcss/postcss-import#482

csstools/postcss-partial-import#46

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

Successfully merging this pull request may close these issues.

None yet

1 participant