Replies: 2 comments
-
Hi, First of all, goja does not fully support 2020 (or even ES6) syntax yet. Secondly, please try to reduce it to a simple runnable testscase. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tailwind also uses some Node-specifics, but you can use ESBuild to shim out most of those calls. I have a PoC working with V8 over here: https://github.com/livebud/tailwind. It should also be possible to get working with Goja, but likely needs a bit of additional polyfilling and down-versioning. FWIW, I'd accept any PRs to get it working with Goja, that'd be preferable to V8. |
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
-
Hi, I'm trying to run a build of tailwindcss made with esbuild, should be a es module 2020 compliant but I get the following error:
SyntaxError: SyntaxError: (anonymous): Line 451:3271 Unexpected token ILLEGAL (and 57 more errors)
Attached the code
https://www.sendspace.com/file/segxp0
Beta Was this translation helpful? Give feedback.
All reactions