Skip to content

Commit

Permalink
Set "type": "module" to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Nov 3, 2024
1 parent 88650d0 commit ba70d4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"name": "rich-textarea",
"version": "0.26.3",
"description": "A small customizable textarea for React to colorize, highlight, decorate texts, offer autocomplete and much more.",
"main": "lib/index.js",
"module": "lib/index.mjs",
"main": "lib/index.cjs",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
}
},
Expand Down
File renamed without changes.

0 comments on commit ba70d4c

Please sign in to comment.