Closed ashton closed 7 months ago
In the meantime, those can be fixed by manually escaping the quotes
Which quotes exactly? (version 0.40.1 is working perfectly)
Which quotes exactly?
For example; case """ :
to case "\"":
(version 0.40.1 is working perfectly)
We shall investigate and fix what could be causing the regression. Thanks for the report
For example;
case """:
tocase "\"":
but those are generated files, everytime I run a npm install
this would be overwritten
Also, not sure if it's related, but the PPX itself is not being recognized by rescript:
@lubegasimon Do you want me to open another issue?
Also, not sure if it's related, but the PPX itself is not being recognized by rescript:
@lubegasimon Do you want me to open another issue?
Yes, though it seems something is missing out during the installation. Does this -- https://styled-ppx.vercel.app/getting-started guide help?
I think I followed what the getting started said, not sure if something is off because is not a new installation but an upgrade:
It seems that the compilation of this line is generating triple quotes and thus, an invalid syntax in the .bs.js file
No, one occurrence is at https://github.com/davesnx/styled-ppx/blob/b06c03a8af9c6976cd1c653e9d96dfaad6d0e976/packages/css/native/shared/Css_AtomicTypes.ml#L2281
I believe the issue has been fixed in main, but didn't release a npm package yet. Let me try to reproduce and double-check ReScript and release a 0.51
Updated the https://github.com/davesnx/try-styled-ppx repository with ReScript 10 and styled-ppx 0.53 working nicely
Hey! I've installed![image](https://github.com/davesnx/styled-ppx/assets/95974/e8abdb03-eda5-4e44-a053-43c82d2f026f)
"@davesnx/styled-ppx": "^0.50.0",
and when trying to run my project using rescript (10.1.4) with rescript-react (0.11.0), it shows the following errorIt seems that the compilation of this line is generating triple quotes and thus, an invalid syntax in the![Cursor_and_less](https://github.com/davesnx/styled-ppx/assets/95974/4b582e01-3c6e-47fe-83ee-4b5fb0facae5)
.bs.js
file.