Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit fa1b295

Browse files
maclockardFezVrasta
authored andcommitted
perf: set side effects to 'false' (#309)
This sets the `package.json` field `sideEffects` to `false`. This allows for better tree shaking by downstream consumers, see https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free for more information. I skimmed over all included files and I did not see anything that would count following webpack's definition of tree shaking.
1 parent 823cce2 commit fa1b295

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"main": "lib/cjs/index.js",
99
"module": "lib/esm/index.js",
1010
"typings": "typings/react-popper.d.ts",
11+
"sideEffects": false,
1112
"files": [
1213
"/dist",
1314
"/lib",

0 commit comments

Comments
 (0)