aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-16 02:51:07 +0800
committerFabio Berger <me@fabioberger.com>2018-03-16 02:51:07 +0800
commit0225d34b742072fb846fa2047cb4b0559069dfe8 (patch)
tree349fb1a7fb0ddc064879d939693bc778a72153ff
parent8137d41ce54b582032770c9b168016ce379711bf (diff)
downloaddexon-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.md1
-rw-r--r--packages/subproviders/package.json3
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
}
}