From 6fab9d535d6c04a52c5c83a1f5d67cb4e7fef950 Mon Sep 17 00:00:00 2001
From: Angelo Ashmore <angeloashmore@users.noreply.github.com>
Date: Fri, 4 Feb 2022 14:53:13 -1000
Subject: [PATCH] fix: remove ESM `package.json` declaration (fixes `'Element'
 is not exported from '@prismicio/richtext'`) (#122)

---
 package.json | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index b0c3da1..8fd3abc 100644
--- a/package.json
+++ b/package.json
@@ -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",