From 60e427f1325ea38e09c038a2097256b3e5628398 Mon Sep 17 00:00:00 2001 From: Jaco Date: Tue, 19 Dec 2023 16:58:14 +0200 Subject: [PATCH] Add missing sideEffect declarations --- packages/wasm-crypto-asmjs/package.json | 5 ++++- packages/wasm-crypto-wasm/package.json | 5 ++++- packages/wasm-crypto/package.json | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/wasm-crypto-asmjs/package.json b/packages/wasm-crypto-asmjs/package.json index 3737797b..ee9578a7 100644 --- a/packages/wasm-crypto-asmjs/package.json +++ b/packages/wasm-crypto-asmjs/package.json @@ -13,7 +13,10 @@ "type": "git", "url": "https://github.com/polkadot-js/wasm.git" }, - "sideEffects": false, + "sideEffects": [ + "./packageDetect.js", + "./packageDetect.cjs" + ], "type": "module", "version": "7.3.3-3-x", "main": "index.js", diff --git a/packages/wasm-crypto-wasm/package.json b/packages/wasm-crypto-wasm/package.json index bf1d584b..781f4096 100644 --- a/packages/wasm-crypto-wasm/package.json +++ b/packages/wasm-crypto-wasm/package.json @@ -13,7 +13,10 @@ "type": "git", "url": "https://github.com/polkadot-js/wasm.git" }, - "sideEffects": false, + "sideEffects": [ + "./packageDetect.js", + "./packageDetect.cjs" + ], "type": "module", "version": "7.3.3-3-x", "main": "index.js", diff --git a/packages/wasm-crypto/package.json b/packages/wasm-crypto/package.json index c65e1353..fbae10ef 100644 --- a/packages/wasm-crypto/package.json +++ b/packages/wasm-crypto/package.json @@ -14,8 +14,6 @@ "url": "https://github.com/polkadot-js/wasm.git" }, "sideEffects": [ - "./packageDetect.js", - "./packageDetect.cjs", "./initNone.js", "./initNone.cjs", "./initOnlyAsm.js", @@ -23,7 +21,9 @@ "./initOnlyWasm.js", "./initOnlyWasm.cjs", "./initWasmAsm.js", - "./initWasmAsm.cjs" + "./initWasmAsm.cjs", + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "7.3.3-3-x",