Skip to content

Commit

Permalink
fix commonjs build
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Sep 8, 2020
1 parent a7a6f90 commit e1f7821
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"public": true,
"version": "0.1.0",
"description": "Preact compatibility layer that supports deprecated React APIs'",
"main": "./dist/legacy-compat.js",
"module": "./dist/legacy-compat.module.js",
"main": "./dist/legacy-compat.js",
"unpkg": "./dist/legacy-compat.umd.js",
"scripts": {
"build": "microbundle -f esm,cjs,umd",
"build": "microbundle -f es,cjs,umd",
"pretest": "npm run build",
"test": "eslint src test && jest"
},
Expand Down

0 comments on commit e1f7821

Please sign in to comment.