Skip to content

Commit

Permalink
Add sideEffects: false to react-router-dom package.json (#6082)
Browse files Browse the repository at this point in the history
* added sideEffects: true to react-router-dom

* added sideEffects: false to other packages

* added sideEffects: false to react-router-native
  • Loading branch information
taylorc93 authored and timdorr committed Apr 11, 2018
1 parent 2347833 commit 7ae8cf5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-router-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"main": "index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
Expand Down
1 change: 1 addition & 0 deletions packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
],
"main": "index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
Expand Down
1 change: 1 addition & 0 deletions packages/react-router-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"Ryan Florence"
],
"main": "main.js",
"sideEffects": false,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"clean": "git clean -fdX .",
Expand Down
1 change: 1 addition & 0 deletions packages/react-router-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
],
"main": "index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"build": "node ./tools/build.js",
"prepublishOnly": "node ./tools/build.js",
Expand Down
1 change: 1 addition & 0 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
],
"main": "index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
Expand Down

0 comments on commit 7ae8cf5

Please sign in to comment.