Skip to content

Commit

Permalink
Merge pull request #59 from zuhno/main
Browse files Browse the repository at this point in the history
Resolve TypeScript ES Environment Errors by Correcting 'module' and 'types' Fields
  • Loading branch information
kasvith authored Dec 29, 2023
2 parents def52e8 + 2d3aed6 commit c44715c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
"docs:serve": "vitepress serve docs"
},
"main": "./dist/index.umd.js",
"module": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
"require": "./dist/index.umd.js",
"types": "./dist/plugin.d.ts"
}
},
"types": "./dist/plugin.d.ts",
Expand Down

0 comments on commit c44715c

Please sign in to comment.