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",