Skip to content

Commit 31b5ae7

Browse files
committed
Revert exports
1 parent 066f9e0 commit 31b5ae7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.size-limit.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[
22
{
33
"name": "RichTextarea",
4-
"path": "lib/index.js",
4+
"path": "lib/index.mjs",
55
"import": "{ RichTextarea }",
66
"limit": "3 kB"
77
},
88
{
99
"name": "experimental_RichInput",
10-
"path": "lib/index.js",
10+
"path": "lib/index.mjs",
1111
"import": "{ experimental_RichInput }",
1212
"limit": "3.5 kB"
1313
},
1414
{
1515
"name": "createRegexRenderer",
16-
"path": "lib/index.js",
16+
"path": "lib/index.mjs",
1717
"import": "{ createRegexRenderer }",
1818
"limit": "1.5 kB"
1919
}

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "rich-textarea",
33
"version": "0.25.1",
44
"description": "A small customizable textarea for React to colorize, highlight, decorate texts, offer autocomplete and much more.",
5-
"main": "lib/index.cjs",
6-
"module": "lib/index.js",
5+
"main": "lib/index.js",
6+
"module": "lib/index.mjs",
77
"types": "lib/index.d.ts",
8-
"type": "module",
98
"exports": {
109
"./package.json": "./package.json",
1110
".": {
1211
"types": "./lib/index.d.ts",
13-
"require": "./lib/index.cjs",
12+
"import": "./lib/index.mjs",
1413
"default": "./lib/index.js"
1514
}
1615
},
File renamed without changes.

0 commit comments

Comments
 (0)