Skip to content

Commit 2dacbb8

Browse files
committed
Added exports field
1 parent aacfeba commit 2dacbb8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

frontend/corelle-client/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@macrostrat/corelle",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A client library for the Corelle plate-rotation API",
55
"scripts": {
66
"dev": "rollup -c -w & tsc --emitDeclarationOnly -w",
@@ -36,5 +36,12 @@
3636
},
3737
"peerDependencies": {
3838
"react": "^16.13.1||^17.0.0||^18.0.0"
39+
},
40+
"exports": {
41+
".": {
42+
"typescript": "./src",
43+
"import": "./dist/esm/index.js",
44+
"require": "./dist/cjs/index.js"
45+
}
3946
}
4047
}

frontend/corelle-client/yarn.lock

Whitespace-only changes.

0 commit comments

Comments
 (0)