Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Make external ganache core work in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
honestbonsai authored and davidmurdoch committed May 29, 2021
1 parent 6810b29 commit d77ca45
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/chains/filecoin/filecoin/webpack/webpack.node.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,22 @@ const config: webpack.Configuration = merge({}, base, {
"ipfs-http-client",
"ipfs-http-server",
"ipld-dag-cbor",
"bigint-buffer",
"leveldown",
"secp256k1"
"secp256k1",
"keccak",
{
"@ganache/core": path.resolve(
__dirname,
"../",
"dist",
"node",
"ganache.min.js"
)
}
],
plugins: [
new webpack.BannerPlugin({ banner: "#!/usr/bin/env node", raw: true })
],
module: {
rules: [
Expand Down
1 change: 1 addition & 0 deletions src/packages/ganache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"truffle"
],
"devDependencies": {
"@ganache/core": "^0.1.0",
"@ganache/cli": "^0.1.0",
"@ganache/core": "^0.1.0",
"@ganache/flavors": "^0.1.0",
Expand Down

0 comments on commit d77ca45

Please sign in to comment.