Skip to content

Commit a1cb8f8

Browse files
committed
fix: add sideEffects=false to package.json
needed for webpack tree shaking to work
1 parent 7a08c8f commit a1cb8f8

File tree

16 files changed

+18
-0
lines changed

16 files changed

+18
-0
lines changed

Diff for: packages/cardano-services-client/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"require": "./dist/cjs/index.js"
1414
}
1515
},
16+
"sideEffects": false,
1617
"repository": "https://github.com/input-output-hk/cardano-js-sdk",
1718
"publishConfig": {
1819
"access": "public"

Diff for: packages/cardano-services/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"publishConfig": {
1919
"access": "public"
2020
},
21+
"sideEffects": false,
2122
"contributors": [
2223
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2324
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/core/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/dapp-connector/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/e2e/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"require": "./dist/cjs/index.js"
1414
}
1515
},
16+
"sideEffects": [
17+
"./test/web-extension/extension/**/*.ts"
18+
],
1619
"scripts": {
1720
"artillery:stake-pool-query": "WORKERS=1 node -r ts-node/register ../../node_modules/.bin/artillery run test/artillery/StakePoolSearch.yml",
1821
"artillery:wallet-restoration": "WORKERS=1 node -r ts-node/register ../../node_modules/.bin/artillery run --dotenv ./.env test/artillery/wallet-restoration/WalletRestoration.yml",

Diff for: packages/golden-test-generator/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"publishConfig": {
1919
"access": "public"
2020
},
21+
"sideEffects": false,
2122
"contributors": [
2223
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2324
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/governance/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/input-selection/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/key-management/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/ogmios/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/projection/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/util-dev/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/util-rxjs/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/util/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/wallet/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

Diff for: packages/web-extension/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"publishConfig": {
1818
"access": "public"
1919
},
20+
"sideEffects": false,
2021
"contributors": [
2122
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
2223
"Martynas Kazlauskas <[email protected]> (https://iohk.io)",

0 commit comments

Comments
 (0)