Skip to content

Commit

Permalink
fix: map exports to dist folder (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshydra authored Nov 19, 2024
1 parent b218eaa commit 094a0f7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"main": "dist/cjs/Decimal128.cjs",
"module": "dist/esm/Decimal128.mjs",
"typings": "dist/esm/Decimal128.d.ts",
"exports": {
"node": {
"module-sync": "./dist/esm/Decimal128.mjs",
"types": "./dist/esm/Decimal128.d.ts",
"default": "./dist/cjs/Decimal128.cjs"
},
"types": "./dist/esm/Decimal128.d.ts",
"default": "./dist/esm/Decimal128.mjs"
},
"sideEffects": false,
"scripts": {
"build": "rollup -c",
Expand Down Expand Up @@ -53,8 +62,5 @@
"type": "BSD-2-Clause",
"url": "https://opensource.org/license/bsd-2-clause/"
}
],
"exports": {
".": "./src/Decimal128.mjs"
}
]
}

0 comments on commit 094a0f7

Please sign in to comment.