Skip to content

Commit

Permalink
feat: mark package as side-effect free for tree shaking (#99)
Browse files Browse the repository at this point in the history
feat: mark package as side-effect free for tree shaking

Co-authored-by: Elvis Wolcott <elvis.wolcott@punbub.com>
Co-authored-by: Client Engineering Bot <60980775+Client Engineering Bot@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 28, 2022
1 parent b47b2cc commit 77f4476
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
changelog:
- date: 2022-06-28
version: v3.0.1
changes:
- type: feature
text: "Mark package as side-effect free to enable tree shaking."
- date: 2022-06-08
version: v3.0.0
changes:
Expand Down Expand Up @@ -29,7 +34,7 @@ files:
name: pubnub-react
schema: 1
scm: github.com/pubnub/react
version: '3.0.0'
version: '3.0.1'
sdks:
-
full-name: PubNub React SDK
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v3.0.1
June 28 2022

#### Added
- Mark package as side-effect free to enable tree shaking.

## v3.0.0
June 08 2022

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "pubnub-react",
"version": "3.0.0",
"version": "3.0.1",
"description": "Publish & Subscribe Real-time Messaging with PubNub",
"author": "PubNub <support@pubnub.com>",
"main": "dist/index.js",
"module": "dist/pubnub-react.esm.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
Expand Down

0 comments on commit 77f4476

Please sign in to comment.