Closed alex-kinokon closed 1 year ago
This is because this library doesn't support full syntax parsing of arbitrary destructuring and variable declarations, see the limitations section.
That said, I've put together some initial prototyping of simple destructuring for a case like this in https://github.com/guybedford/es-module-lexer/pull/154.
1.3.0 is now released with simple destructuring support, that should resolve this case.
Parsing vscode-uri/lib/esm/index.js which ends in
export const{URI,Utils}=LIB
givesimports: [], exports: []
.