Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use build output for
/esm/*
exports
When using the build output for these exports the tests which import these modules as part of the test case fail. This has two reasons: 1. In CI/CD npm run build is not run before the tests so the modules fail to be imported. This could be solved by first building the package. 2. In the tests the modules are imported via ES Modules syntax and the import function and the result is compared for referential equality. When the built file is imported through the import function and it's compared to the source file the reference is always not the same. When this part of the code is converted to TypeScript these issues must be addressed.
- Loading branch information