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

Fixing an issue with importing styles for PostCSS #522

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

d4nicoder
Copy link

Hello!

recently, I've been integrating driver.js into a project with Angular + TailwindCSS. To get the styles working correctly, I had to add an @import "driver.js/dist/driver.css" statement in my global stylesheet file. The
issue is that the CSS postprocessor gives me this error:

None of the conditions in the package definition ("import", "require") match any 
of the currently active conditions ("browser", "default", "less", "sass", "style"):....

To solve it, it's necessary to add this line in this project's package.json file.

Is anyone else familiar with this problem in the past? If there's a different solution, please let me know.

Best regards!

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.

1 participant