diff --git a/src/app/meta/meta-sender/meta-sender.component.ts b/src/app/meta/meta-sender/meta-sender.component.ts index eb88848..be8f5be 100644 --- a/src/app/meta/meta-sender/meta-sender.component.ts +++ b/src/app/meta/meta-sender/meta-sender.component.ts @@ -1,6 +1,8 @@ import {Component, OnInit} from '@angular/core'; import {Web3Service} from '../../util/web3.service'; -import metacoin_artifacts from '../../../../build/contracts/MetaCoin.json'; + +declare let require: any; +const metacoin_artifacts = require('../../../../build/contracts/MetaCoin.json'); @Component({ selector: 'app-meta-sender',