Skip to content

Commit

Permalink
Set "sideEffects": false in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbuck committed Jun 16, 2023
1 parent fa71837 commit 5504ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Added conditional listening in `useBeforeunload` hook. (Fixes [#9](https://github.com/jacobbuck/react-beforeunload/issues/9))
- Added `sideEffects` property in [package.json](./package.json).

### Changed

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"require": "./dist/react-beforeunload.cjs"
}
},
"sideEffects": false,
"scripts": {
"build": "vite build",
"coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
Expand Down

0 comments on commit 5504ba7

Please sign in to comment.