Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixing an issue with importing styles for PostCSS #522

Closed
wants to merge 2 commits into 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!

@kamranahmedse
Copy link
Owner

Thank you for the PR, this should now be working in 1.3.4

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

Successfully merging this pull request may close these issues.

2 participants