Skip to content

Commit

Permalink
Add conditional export for cjs and es6 entry points (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
neeerp committed Feb 8, 2023
1 parent ff97410 commit 03384c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"description": "A JavaScript implementation of the Ion data interchange format",
"main": "dist/commonjs/es6/Ion.js",
"types": "dist/commonjs/es6/Ion.d.ts",
"exports": {
"import": "./dist/es6/es6/Ion.js",
"require": "./dist/commonjs/es6/Ion.js"
},
"scripts": {
"commit": "git-cz",
"prepare": "grunt release",
Expand Down

0 comments on commit 03384c3

Please sign in to comment.