-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: digest library as JavaScript module build by TypeScript #596
Conversation
Coverage summary from CodacyMerging #596 (219c887) into
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
bd7e385
to
61ba718
Compare
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
61ba718
to
10039ca
Compare
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
53908fc
to
0caf55b
Compare
}, | ||
"browser": "./dist.web/lib.js", | ||
"types": "./dist.d/index.node.d.ts", | ||
"main": "./dist.node/index.node.js", | ||
"exports": "./dist.node/index.node.js", | ||
"exports": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ this is the actual fix
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
it appeared like there was an issue when digesting this very library in another (downstream) TypeScript project that was intended to compile to native ECMA script modules.
to check, integration tests were added,
and a fix/solution was implemented -- fix the
package.json
'sexports
setting.