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.
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: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!