Skip to content

Commit

Permalink
added build and support to ESM + CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
crisconru committed May 7, 2024
1 parent 1761dd6 commit 7055f3b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "splitea",
"version": "0.0.3",
"version": "0.0.5",
"description": "Splitea is a utility to split images in different sizes",
"author": "Cristóbal Contreras Rubio",
"license": "MIT",
Expand All @@ -20,6 +20,19 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist"
],
Expand Down

0 comments on commit 7055f3b

Please sign in to comment.