Skip to content

Commit

Permalink
adding additional export to support cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
1800joe committed Aug 8, 2022
1 parent 0872626 commit 16b9614
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tatatap-com/sowhat",
"description": "Anything goes, organizational and utility function notation parser.",
"version": "2.1.1",
"version": "2.1.2",
"license": "MIT",
"type": "module",
"engines": {
Expand All @@ -21,7 +21,11 @@
"rollup": "^2.75.7",
"rollup-plugin-terser": "^7.0.2"
},
"exports": "./dist/sowhat.js",
"exports": {
".": "./dist/sowhat.js",
"./cjs": "./dist/sowhat.cjs"

},
"directories": {
"test": "test"
},
Expand Down

0 comments on commit 16b9614

Please sign in to comment.