Skip to content

Commit

Permalink
fix: remove exports["."].module to be compatible with resolution po…
Browse files Browse the repository at this point in the history
…licy of nodejs offical & bundlers like `vite` (#13)

* fix: change exports[.].module to .mjs as package type is not explicit declared

* fix: change exports[.].module to .mjs as package type is not explicit declared

* remove exports[.].modules
  • Loading branch information
indooorsman authored Feb 2, 2024
1 parent 42a4d33 commit eccd37f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"./package.json": "./package.json",
".": {
"types": "./dist/src/index.d.ts",
"module": "./dist/index.modern.js",
"import": "./dist/index.modern.mjs",
"default": "./dist/index.umd.js"
}
Expand Down

0 comments on commit eccd37f

Please sign in to comment.