Skip to content

Commit

Permalink
fix(package.json): adds missing "type": "module" declaration in packa…
Browse files Browse the repository at this point in the history
…ge.json

without this declaration Node assumes that CJS instead of ESM
  • Loading branch information
rockchalkwushock committed Apr 28, 2021
1 parent 5ba7dc8 commit 63dc7e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"unified"
],
"main": "dist/index.js",
"type": "module",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 63dc7e1

Please sign in to comment.