Closed LarsDenBakker closed 4 years ago
@LarsDenBakker did you try this with the very latest release of es-module-lexer (0.3.13)? I just tested it out on this version and it seems to work ok there.
Looks like we were still on an older version, sorry about that!
graphql
generates code like this: https://unpkg.com/browse/graphql@14.5.8/type/definition.mjs#LC752 which throws an error in the lexer.It looks like it's the comment between the variable name and the equals sign that's causing the issue.
This throws as well:
and