Skip to content

Commit

Permalink
Added exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
davenquinn committed May 29, 2024
1 parent aacfeba commit 2dacbb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/corelle-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@macrostrat/corelle",
"version": "2.0.0",
"version": "2.0.1",
"description": "A client library for the Corelle plate-rotation API",
"scripts": {
"dev": "rollup -c -w & tsc --emitDeclarationOnly -w",
Expand Down Expand Up @@ -36,5 +36,12 @@
},
"peerDependencies": {
"react": "^16.13.1||^17.0.0||^18.0.0"
},
"exports": {
".": {
"typescript": "./src",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
}
}
Empty file.

0 comments on commit 2dacbb8

Please sign in to comment.