Skip to content

Commit 18974cf

Browse files
authored
fix: Declare @nmfs-radfish/radfish package as an ESM module
1 parent 1ba1792 commit 18974cf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"description": "![test and build workflow](https://github.com/NMFS-RADFish/boilerplate/actions/workflows/run-tests.yml/badge.svg)",
33
"workspaces": [
4-
"./packages/radfish",
5-
"./packages/react-radfish"
4+
"packages/radfish",
5+
"packages/react-radfish"
66
],
77
"keywords": [],
88
"author": "",

packages/radfish/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@nmfs-radfish/radfish",
33
"version": "1.1.1",
4+
"type": "module",
5+
"exports": {
6+
".": "./index.js",
7+
"./storage": "./storage/index.js"
8+
},
49
"main": "index.js",
510
"scripts": {
611
"test": "jest"
@@ -22,4 +27,4 @@
2227
"jest": "^29.7.0",
2328
"jest-environment-jsdom": "^29.7.0"
2429
}
25-
}
30+
}

0 commit comments

Comments
 (0)