Skip to content

Commit

Permalink
fix: ship valid ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Mar 19, 2024
1 parent f181c7b commit 805f981
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/pt-to-html.d.ts",
"source": "./src/index.ts",
"import": "./dist/pt-to-html.esm.js",
"require": "./dist/pt-to-html.js",
"default": "./dist/pt-to-html.esm.js"
"import": "./dist/pt-to-html.js",
"require": "./dist/pt-to-html.cjs",
"default": "./dist/pt-to-html.js"
},
"./package.json": "./package.json"
},
"main": "./dist/pt-to-html.js",
"module": "./dist/pt-to-html.esm.js",
"main": "./dist/pt-to-html.cjs",
"module": "./dist/pt-to-html.js",
"source": "./src/index.ts",
"types": "./dist/pt-to-html.d.ts",
"files": [
Expand Down

0 comments on commit 805f981

Please sign in to comment.