You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PigmentCSS styles should be successfully applied and no error should be logged in the console. - The same behavior as one gets using vite v5
Actual Behavior
When using vite >= v6.0.0 and pigment-css, everytime a page containing pigment-css classes is refreshed an error is logged in the console.
Failed to load CSS for /tmp/my-react-router-app/app/root.pigment.css
The following error is a bug in React Router; please open an issue! https://github.com/remix-run/react-router/issues/new/choose
The styles sometimes get applied, and sometimes not. (I could not figure out exactly when the styles get fully dropped)
The error gets logged regardless of whether the styles are applied successfully.
The error is not displayed when using vite v5.4.17.
The text was updated successfully, but these errors were encountered:
I'm using React Router as a...
framework
Reproduction
Visit https://stackblitz.com/edit/github-pq121seq. Once reload the page in the stackblitz preview and you will see the error messages in the terminal.
System Info
Used Package Manager
npm
Expected Behavior
PigmentCSS styles should be successfully applied and no error should be logged in the console. - The same behavior as one gets using vite v5
Actual Behavior
When using vite >= v6.0.0 and pigment-css, everytime a page containing pigment-css classes is refreshed an error is logged in the console.
The styles sometimes get applied, and sometimes not. (I could not figure out exactly when the styles get fully dropped)
The error gets logged regardless of whether the styles are applied successfully.
The error is not displayed when using vite v5.4.17.
The text was updated successfully, but these errors were encountered: