Skip to content

Commit 9b8834f

Browse files
committed
Update build commands
1 parent 5d09ed5 commit 9b8834f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "module",
66
"source": "./src/index.js",
77
"exports": "./dist/react-json-form.modern.js",
8-
"main": "./dist/react-json-form.cjs",
8+
"main": "./dist/react-json-form.js",
99
"module": "./dist/react-json-form.module.js",
10-
"unpkg": "./dist/react-json-form.js",
10+
"unpkg": "./dist/react-json-form.min.js",
1111
"scripts": {
12-
"build": "microbundle",
13-
"dev": "microbundle watch --no-compress --jsx React.createElement --output ./dev/dist/",
12+
"build": "microbundle --format umd,cjs",
13+
"dev": "microbundle watch --format umd,cjs --no-compress --jsx React.createElement --output ./dev/dist/",
1414
"lint": "eslint src"
1515
},
1616
"keywords": [],

0 commit comments

Comments
 (0)