Skip to content

Conversation

@alvrs
Copy link

@alvrs alvrs commented Apr 19, 2023

@fvictorio
Copy link
Contributor

Hi @alvrs, thanks for this (and sorry for taking so long to respond). I gave this a try locally but this is not working, even after some modifications. I think the reason is that the generated antlr code uses some dynamic requires that are not supported by esbuild.

I'm not super sure what to do about this. Maybe we should only use esbuild for the browser build, and just tsc to generate the cjs and esm builds? I'm not sure. For the time being, I opened this issue about it so we can discuss it further there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants