Skip to content

Commit

Permalink
Merge pull request #64 from ProjectMirador/cbeer-patch-1
Browse files Browse the repository at this point in the history
Add exports
  • Loading branch information
marlo-longley authored Feb 12, 2025
2 parents 7527da5 + 2892f30 commit 05edd60
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"dist"
],
"exports": {
"./src": "./src/index.js"
"./src": "./src/index.js",
".": {
"import": "./dist/mirador-image-tools.es.js",
"require": "./dist/mirador-image-tools.js"
}
},
"scripts": {
"build": "vite build --config vite.config.js",
Expand Down

0 comments on commit 05edd60

Please sign in to comment.