Skip to content

Commit

Permalink
Add discovery-dev condition to use source modules instead of transpil…
Browse files Browse the repository at this point in the history
…ed modules
  • Loading branch information
lahmatiy committed Sep 6, 2024
1 parent f1d025e commit 20c5eb9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@
"jsdelivr": "dist/discovery.js",
"types": "./lib/lib.d.ts",
"exports": {
".": "./lib/lib.js",
".": {
"discovery-dev": "./src/lib.js",
"default": "./lib/lib.js"
},
"./dist/*": "./dist/*",
"./lib/*": "./lib/*",
"./src/*": "./lib/*",
"./src/*": {
"discovery-dev": "./src/*",
"default": "./lib/*"
},
"./package.json": "./package.json"
},
"scripts": {
Expand Down

0 comments on commit 20c5eb9

Please sign in to comment.