diff --git a/package.json b/package.json index 286c21ae..8a92250a 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "clean": "rm -rf ./dist", "build": "npm-run-all clean -p build:*", "start": "run-p start:*", - "build:microbundle": "microbundle -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --no-compress --tsconfig tsconfig.build.json", - "start:microbundle": "microbundle watch -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --no-compress --tsconfig tsconfig.build.json", + "build:microbundle": "microbundle -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --jsxFragment React.Fragment --no-compress --tsconfig tsconfig.build.json", + "start:microbundle": "microbundle watch -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --jsxFragment React.Fragment --no-compress --tsconfig tsconfig.build.json", "test:linter": "eslint 'src/**/*.{ts,tsx}'", "test:tsc": "tsc --project tsconfig.json --noEmit", "test:prettier": "prettier --check ./src ./examples",