diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-16 02:51:07 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-16 02:51:07 +0800 |
commit | 0225d34b742072fb846fa2047cb4b0559069dfe8 (patch) | |
tree | 349fb1a7fb0ddc064879d939693bc778a72153ff | |
parent | 8137d41ce54b582032770c9b168016ce379711bf (diff) | |
download | dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar.gz dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar.bz2 dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar.lz dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar.xz dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.tar.zst dexon-sol-tools-0225d34b742072fb846fa2047cb4b0559069dfe8.zip |
Fix issue with bundling subproviders for the browser by ignoring the `ganache-core` dependency
-rw-r--r-- | packages/subproviders/CHANGELOG.md | 1 | ||||
-rw-r--r-- | packages/subproviders/package.json | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/subproviders/CHANGELOG.md b/packages/subproviders/CHANGELOG.md index 76a757df5..0b631f1d7 100644 --- a/packages/subproviders/CHANGELOG.md +++ b/packages/subproviders/CHANGELOG.md @@ -5,6 +5,7 @@ * Export `GanacheSubprovider` and `Subprovider` (#426) * Make all subproviders to derive from `Subprovider` (#426) * Add types for `NextCallback`, `OnNextCompleted` (#426) + * Ignore `ganache-core` dependency when using package in a browser environment. ## v0.7.0 - _March 8, 2018_ diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 100ed8f87..58b518079 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -65,5 +65,8 @@ }, "publishConfig": { "access": "public" + }, + "browser": { + "ganache-core": false } } |