This repository contains a demo to illustrate a problem with snowpack.
With snowpack:
-
When the
css-select
library is directly imported, its named exportsselectOne
andselectAll
are properly resolved. -
When the
css-select
library is impored indirectly throughnode-html-parser
, the named imports becomeundefined
althoughnode-html-parser
uses the exact same import statements.
This repository contains the same test case, but without snowpack. It passes without errors.