This repository contains a demo to illustrate a problem with snowpack.
With snowpack:
-
When the
css-selectlibrary is directly imported, its named exportsselectOneandselectAllare properly resolved. -
When the
css-selectlibrary is impored indirectly throughnode-html-parser, the named imports becomeundefinedalthoughnode-html-parseruses the exact same import statements.
This repository contains the same test case, but without snowpack. It passes without errors.