We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93241d7 commit b93d96dCopy full SHA for b93d96d
.changeset/sixty-hounds-kiss.md
@@ -0,0 +1,5 @@
1
+---
2
+"latex-math": patch
3
4
+
5
+Add exports field to package.json to ensure ESM is resolved properly.
lib/package.json
@@ -12,6 +12,13 @@
12
"bugs": "https://github.com/tiny-md/latex-math/issues",
13
"homepage": "https://github.com/tiny-md/latex-math/#readme",
14
"sideEffects": false,
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.mjs",
19
+ "require": "./dist/index.js"
20
+ }
21
+ },
22
"files": [
23
"dist/**"
24
],
0 commit comments