Skip to content

Commit

Permalink
Fixes magika_node missing from exports in package.json #299
Browse files Browse the repository at this point in the history
  • Loading branch information
invernizzi committed Mar 26, 2024
1 parent bc1cec3 commit 496f3f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"types": "./dist/cjs/magika.d.ts",
"module": "./dist/mjs/magika.js",
"exports": {
".": {
"node": {
"import": "./dist/mjs/magika_node.js",
"require": "./dist/cjs/magika_node.js"
},
"default": {
"import": "./dist/mjs/magika.js",
"require": "./dist/cjs/magika.js"
}
Expand Down

0 comments on commit 496f3f2

Please sign in to comment.