Skip to content

Commit cf59dc3

Browse files
committed
Fix build command
1 parent 7ec76de commit cf59dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"unpkg": "./dist/react-json-form.js",
1111
"scripts": {
1212
"build": "npm run build:uncompressed && npm run build:compressed",
13-
"build:uncompressed": "microbundle --format umd --no-compress",
14-
"build:compressed": "microbundle --format umd -o ./dist/react-json-form.min.js",
13+
"build:uncompressed": "microbundle --format umd --no-compress --jsx React.createElement",
14+
"build:compressed": "microbundle --format umd --jsx React.createElement -o ./dist/react-json-form.min.js",
1515
"dev": "microbundle watch --format umd --no-compress --jsx React.createElement --output ./dev/dist/",
1616
"lint": "eslint src"
1717
},

0 commit comments

Comments
 (0)