-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
If there is a comment inside of an ImportsList, and that comment contains a }, then es-module-lexer v0.9.2 currently throws a parse error:
import { /** @type{HTMLElement} */ LionCombobox } from './src/LionCombobox.js';
// ^ Parse errorIf there is no } inside the comment, then there is no parse error.
Found in the wild here: https://unpkg.com/@lion/combobox@0.8.4/lion-combobox.js
(Love this library by the way! We are using it in https://github.com/google/playground-elements which powers https://lit.dev/playground/ to do super fast bare module resolution. You can see the parse error as an inline red squiggly error in this example).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels