Skip to content

Commit

Permalink
build: adding sideEffects: false to allow tree-shake on consumer side
Browse files Browse the repository at this point in the history
  • Loading branch information
willmendesneto committed Nov 6, 2019
1 parent 1ae2c97 commit 281cbfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][]

### Added

- Adding `sideEffects: false` to allow consumer's to tree-shake

### Updated

- Updated `main` entry point in `package.json` to point to `cjs` bundle content
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type": "git",
"url": "https://github.com/willmendesneto/perf-marks.git"
},
"sideEffects": false,
"license": "MIT",
"browser": "dist/umd/index.js",
"jsnext:main": "dist/esm/index.js",
Expand Down

0 comments on commit 281cbfc

Please sign in to comment.