Skip to content

Commit

Permalink
fix import map
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Jun 18, 2024
1 parent abbaea0 commit 03f4223
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,16 @@
"browser": "dist/svg.esm.js",
"module": "src/main.js",
"exports": {
"import": "./src/main.js",
"require": "./dist/svg.node.cjs"
".": {
"import": {
"default": "./src/main.js",
"types": "./svg.js.d.ts"
},
"require": {
"default": "./dist/svg.node.cjs",
"types": "./svg.js.d.ts"
}
}
},
"files": [
"/dist",
Expand Down

0 comments on commit 03f4223

Please # to comment.