1
0
Эх сурвалжийг харах

Merge pull request #37 from wilkmaia/main

fix: allow for require imports to support jest 28
Timothy 3 жил өмнө
parent
commit
4727eb0585
1 өөрчлөгдсөн 4 нэмэгдсэн , 12 устгасан
  1. 4 12
      package.json

+ 4 - 12
package.json

@@ -11,18 +11,10 @@
   "types": "./dist/index.d.ts",
   "type": "module",
   "exports": {
-    ".": {
-      "import": "./dist/rehype-prism-plus.es.js"
-    },
-    "./common": {
-      "import": "./dist/common.es.js"
-    },
-    "./all": {
-      "import": "./dist/all.js"
-    },
-    "./generator": {
-      "import": "./dist/generator.es.js"
-    }
+    ".": "./dist/rehype-prism-plus.es.js",
+    "./common": "./dist/common.es.js",
+    "./all": "./dist/all.js",
+    "./generator": "./dist/generator.es.js"
   },
   "typesVersions": {
     "*": {