From 49aeb0d83081445092331424e9a57c8d21bc1a22 Mon Sep 17 00:00:00 2001 From: Andre Cabrera Date: Sat, 1 Aug 2020 23:39:23 -0300 Subject: [PATCH] fix(postOffice): fix issue with postoffice plugin --- gatsby-config.js | 11 ++++++++++- package.json | 4 +++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 12b1979..d6819b9 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -6,5 +6,14 @@ module.exports = { /* Your site config here */ - plugins: ['gatsby-ipfs-web-wallet'] + plugins: [ + 'gatsby-ipfs-web-wallet', + 'bch-wallet-plugin-postoffice', + { + resolve: `gatsby-plugin-compile-es6-packages`, + options: { + modules: [`bch-wallet-plugin-postoffice`] + } + } +] } diff --git a/package.json b/package.json index 4da2530..d43dd75 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,10 @@ "test": "npm run lint" }, "dependencies": { + "bch-wallet-plugin-postoffice": "^1.0.7", "gatsby": "^2.23.7", - "gatsby-ipfs-web-wallet": "^1.5.1" + "gatsby-ipfs-web-wallet": "^1.5.1", + "gatsby-plugin-compile-es6-packages": "^2.1.0" }, "repository": { "type": "git",