Poor error in development when token has syntax error #1920
JoshuaKGoldberg
started this conversation in
General
Replies: 1 comment
-
this will be fixed with #1896 panda/packages/core/src/plugins/optimize-lightningcss.ts Lines 27 to 33 in 9c8edd5 |
Beta Was this translation helpful? Give feedback.
0 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.
-
Description
I messed up the syntax for a token by forgetting to close a parenthesis:
The error message reported by Panda/PostCSS/etc. was rather unhelpful. It mentioned that
index.css
had an issue, but never pointed out the specific syntax complaint or where it came from:I had to add a
console.log
inside the call stack to see that the specific CSS being crated was:Link to Reproduction
philly-js-club/philly-js-club-website@4962967
Steps to reproduce
pnpm i
andpnpm dev
Sorry again for not posting a StackBlitz 🙂
JS Framework
Remix (TS)
Panda CSS Version
0.24.0
Browser
n/a
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions