Skip to content

Commit 86e087d

Browse files
committed
add es
1 parent 4c498e5 commit 86e087d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
],
2525
"licenses": "MIT",
2626
"main": "./lib/index",
27+
"module": "./es/index",
2728
"config": {
2829
"port": 8100,
2930
"entry": {
@@ -38,7 +39,7 @@
3839
"build": "rc-tools run build",
3940
"gh-pages": "rc-tools run gh-pages",
4041
"start": "rc-tools run server",
41-
"compile": "rc-tools run compile",
42+
"compile": "rc-tools run compile --babel-runtime",
4243
"pub": "rc-tools run pub --babel-runtime",
4344
"lint": "rc-tools run lint",
4445
"karma": "rc-test run karma",

0 commit comments

Comments
 (0)