Skip to content

Commit

Permalink
fix(build): remove exports fields for node.js stability (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler committed Feb 1, 2021
1 parent 3bf9dc2 commit 61cca7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ jobs:
- name: Run tests
run: npm t -- --coverage

- name: Run Build
run: npm run build

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "1.1.0",
"description": "A function that turns React hooks into HOCs for compatibility with class components",
"sideEffects": false,
"exports": "./dist/index.modern.js",
"main": "./dist/index.js",
"unpkg": "./dist/index.umd.js",
"module": "./dist/index.module.js",
Expand Down

0 comments on commit 61cca7d

Please sign in to comment.