plugins
plugins copied to clipboard
fix(node-resolve): Add exception to allow fallbacks when resolving exports fail.
Allow exceptions to allow fallbacks for "exports" defined dependencies to allow them bundled.
Should address the following error
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\eddsa.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\poseidon_opt.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\mimc7.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\babyjub.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\evmasm.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\mimcsponge.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\poseidon_wasm.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\pedersen_hash.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\poseidon_gencontract.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\smt.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\poseidon_reference.js using exports defined in node_modules\ffjavascript\package.json.
(!) [plugin node-resolve] Could not resolve import "ffjavascript" in node_modules\circomlibjs\src\smt_hashes_poseidon.js using exports defined in node_modules\ffjavascript\package.json.