Skip to content

Commit

Permalink
fix: remove ESM package.json declaration (fixes `'Element' is not e…
Browse files Browse the repository at this point in the history
…xported from '@prismicio/richtext'`) (#122)
  • Loading branch information
angeloashmore committed Feb 5, 2022
1 parent 27c502f commit 6fab9d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -16,16 +16,15 @@
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand Down

0 comments on commit 6fab9d5

Please sign in to comment.