Skip to content

Commit

Permalink
Packages: Add information for webpack about no side effects (#17862)
Browse files Browse the repository at this point in the history
* Packages: Add information for webpack about no side effects

* Update README.md
  • Loading branch information
gziolo committed Oct 15, 2019
1 parent b6f0103 commit 9b9bfc4
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/autop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"@wordpress/a11y": "file:../a11y",
Expand Down
1 change: 1 addition & 0 deletions packages/block-serialization-default-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/block-serialization-spec-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"main": "parser.js",
"sideEffects": false,
"dependencies": {
"pegjs": "^0.10.0",
"phpegjs": "^1.0.0-beta7"
Expand Down
1 change: 1 addition & 0 deletions packages/deprecated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"@wordpress/hooks": "file:../hooks"
Expand Down
1 change: 1 addition & 0 deletions packages/dom-ready/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"lodash": "^4.17.15"
Expand Down
1 change: 1 addition & 0 deletions packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"@wordpress/escape-html": "file:../escape-html",
Expand Down
1 change: 1 addition & 0 deletions packages/escape-html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/is-shallow-equal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"objects.js"
],
"main": "index.js",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/keycodes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"@wordpress/i18n": "file:../i18n",
Expand Down
1 change: 1 addition & 0 deletions packages/priority-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/redux-routine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"is-promise": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions packages/url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"qs": "^6.5.2"
Expand Down
1 change: 1 addition & 0 deletions packages/wordcount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.4.4",
"lodash": "^4.17.15"
Expand Down

0 comments on commit 9b9bfc4

Please sign in to comment.