Daniel X Moore
Daniel X Moore
Thanks for the report, definitely a bug! Looks like a combinatoric explosion in the parser from the way nested arguments and nested objects interact.
Just hit this issue again today. Here's a more minimal reproduction: ```civet defaultColors := 50: '#f8fafc' 100: '#f1f5f9' 200: '#e2e8f0' 300: '#cbd5e1' 400: '#94a3b8' 500: '#64748b' 600: '#475569' 700: '#334155'...
There's a WIP proof of concept app here: https://github.com/STRd6/qwello It works in dev mode but there are still some issues to fix to get it to compile properly. I'm not...
Probably worth re-exploring after: https://github.com/DanielXMoore/Civet/pull/632
@nanakura can you give it a try with our new Vite plugin? https://github.com/DanielXMoore/Civet/blob/main/integration/unplugin/examples/vite/vite.config.js Let us know if you hit any snags!
My preference is `..=` since it is the same as `.=` for let but with expanded scope. And typing two of the same character twice isn't much slower than typing...
This is probably even simpler than https://github.com/DanielXMoore/Civet/pull/677/files
For anyone migrating TS code in the meantime you can use this RegEx and replacement to wrap single non-parenthesized arrow arguments: ``` ([a-zA-Z]*[^)]) => ($1) => ```
@tbm206 I was able to reproduce the issue. I fixed it by using `import civetPlugin from "@danielx/civet/esbuild"` instead of `"@danielx/civet/esbuild-plugin"` which is our older esbuild plugin. Let me know if...
@tbm206 Try updating to @danielx/[email protected].