Skip to content

Commit 206327a

Browse files
authored
Add sideEffects: false to package.json (#94)
Add sideEffects: false to enable tree-shaking in bundlers
1 parent ead57a2 commit 206327a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "String#replace for React components",
55
"license": "MIT",
66
"main": "index.js",
7+
"sideEffects": false,
78
"repository": "iansinnott/react-string-replace",
89
"author": {
910
"name": "Ian Sinnott",
@@ -41,4 +42,4 @@
4142
"eslint-plugin-flowtype": "^2.25.0",
4243
"eslint-plugin-react": "^7.0.0"
4344
}
44-
}
45+
}

0 commit comments

Comments
 (0)