Turbopack issue with "questionable" third-party CSS #52612
Unanswered
jasontaylor137
asked this question in
App Router
Replies: 1 comment 2 replies
-
modify your SASS if you are using it |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I almost have Turbopack working on my next.js app. Pages that don't use third-party CSS seem to be doing well. However, a page that uses a component that forces me to include external CSS results in errors. The component is react-odometerjs, and a sample of the offending CSS is:
.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
*zoom: 1;
*display: inline;
position: relative;
}
The lines with properties starting with "*" are the ones that fail. I can get around this by one-offing the CSS, but that's a maintenance issue. Is there a way I can tell Turbopack to be lenient in its CSS parsing? The site works fine and gives no such errors when --turbo is not used, asterisk properties and all.
Beta Was this translation helpful? Give feedback.
All reactions