Skip to content

Commit dcb9d2d

Browse files
authored
fix: add module field to package.json for Parcel (#894)
Parcel's dependency resolution needs some fields in `package.json`. See below: > `module` – An ES module version of the package. -- https://parceljs.org/features/dependency-resolution/#package-entries
1 parent 085d758 commit dcb9d2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"import": "./dist/index.js",
1717
"require": "./dist/index.cjs"
1818
},
19+
"module": "./dist/index.js",
1920
"types": "./dist/index.d.ts",
2021
"files": [
2122
"dist/",

0 commit comments

Comments
 (0)