The ESM conversion was only partially complete in #136. The PR #141 updated it to use the right import syntax.
This PR further updates the index.js file to use the right export syntax for ESM.
Additionally, we add a "dist" test that imports from the finished dist/ folder. This ensures that everything is "hooked up" properly and that all the symbols can be properly imported.
This PR should be released immediately as 3.2.3, because the exports are broken in 3.2.2. (And maybe the changelog should reflect that 3.2.1 and 3.2.2 are faulty).
The ESM conversion was only partially complete in #136. The PR #141 updated it to use the right import syntax.
This PR further updates the index.js file to use the right export syntax for ESM.
Additionally, we add a "dist" test that imports from the finished dist/ folder. This ensures that everything is "hooked up" properly and that all the symbols can be properly imported.
This PR should be released immediately as 3.2.3, because the exports are broken in 3.2.2. (And maybe the changelog should reflect that 3.2.1 and 3.2.2 are faulty).
Sorry!