Keyethereum fs dependency (#5902)

* Set process.browser

* Empty fs module (keyethereum dep)

* !==
This commit is contained in:
Jaco Greeff
2017-06-22 11:49:44 +02:00
committed by GitHub
parent d152fa3e85
commit a60c5527c7
4 changed files with 15 additions and 1 deletions

View File

@@ -14,4 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
if (process.env.NODE_ENV !== 'test') {
process.browser = true;
}
export LocalAccountsMiddleware from './localAccountsMiddleware';