Skip to content

Commit 02ea7b3

Browse files
committed
Merge branch 'fix/594-exports' of https://github.com/ekynoxe/danfojs into ekynoxe-fix/594-exports
2 parents 09eba1b + 408ea35 commit 02ea7b3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/danfojs-browser/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"name": "danfojs",
33
"version": "1.1.2",
44
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
5-
"main": "dist/danfojs-browser/src/index.js",
6-
"types": "dist/danfojs-browser/src/index.d.ts",
7-
"module": "lib/bundle.js",
5+
"exports": {
6+
".": {
7+
"types": "./dist/danfojs-browser/src/index.d.ts",
8+
"node": "./dist/danfojs-browser/src/index.js",
9+
"default": "./lib/bundle.esm.js"
10+
}
11+
},
812
"directories": {
913
"test": "tests"
1014
},

0 commit comments

Comments
 (0)