Closed viladimiru closed 1 month ago
You can use a bundler like webpack or esbuild to create a compatible build. It makes no sense to force an older ES version on all users, especially considering that almost all use of the library is done through a bundler.
We have a problem with support for
safari v15
because it doesn't support static initialization blocks. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks#browser_compatibilityI think changing tsconfig target to ES2020 might fix the issue. Would you consider making that change?
https://github.com/mike-lischke/antlr4-c3/blob/main/tsconfig.json#L5