Skip to content

Commit

Permalink
feat: add explicit exports (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Jul 3, 2024
1 parent f40f4de commit 3d1e921
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@
"src",
"build"
],
"exports": {
".": {
"import": {
"types": "./build/vega-embed.module.d.ts",
"default": "./build/vega-embed.module.js"
},
"require": {
"default": "./build/vega-embed.js"
}
}
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-transform-runtime": "^7.24.3",
Expand Down

0 comments on commit 3d1e921

Please sign in to comment.