Skip to content

Commit

Permalink
chore: specify what to use for jsxFragment option on build (#3)
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
leighhalliday authored Sep 25, 2023
1 parent ff86e61 commit f963f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f963f73

Please sign in to comment.