Skip to content

Commit

Permalink
Merge pull request #10714 from CesiumGS/side-effects
Browse files Browse the repository at this point in the history
Add `sideEffects` field to `package.json`
  • Loading branch information
sanjeetsuhag authored Aug 30, 2022
2 parents f750e59 + 06fa2e1 commit 12a593b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

- `Model` can now classify other assets with a given `classificationType`. [#10623](https://github.com/CesiumGS/cesium/pull/10623)
- `Model` now supports back face culling for point clouds. [#10703](https://github.com/CesiumGS/cesium/pull/10703)
- The `sideEffects` field in `package.json` is now defined, allowing more conservative bundlers like Webpack to enable tree shaking by default.

##### Fixes :wrench:

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
}
},
"type": "module",
"sideEffects": ["./Source/ThirdParty/**/*", "./Source/Widgets/**/*.css", "./Source/Workers/*", "./Specs/**/*"],
"dependencies": {
"@tweenjs/tween.js": "^18.6.4",
"@zip.js/zip.js": "2.4.x",
Expand Down

0 comments on commit 12a593b

Please sign in to comment.