Merge pull request #778 from MetaMask/mascara-build

Mascara build
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit 48220cff0e
  1. 2
      library/example/index.js
  2. 9
      library/server.js
  3. 1
      package.json

@ -17,7 +17,7 @@ function startApp(){
console.log('getting main account...') console.log('getting main account...')
web3.eth.getAccounts(function(err, addresses){ web3.eth.getAccounts(function(err, addresses){
if (err) throw err if (err) throw err
console.log('set address') console.log('set address', addresses[0])
primaryAccount = addresses[0] primaryAccount = addresses[0]
}) })

@ -80,15 +80,6 @@ function createBundle(entryPoint){
plugin: [watchify], plugin: [watchify],
}) })
// global transpile
var bablePreset = require.resolve('babel-preset-es2015')
bundler.transform(babelify, {
global: true,
presets: [bablePreset],
babelrc: false,
})
bundler.on('update', bundle) bundler.on('update', bundle)
bundle() bundle()

@ -89,7 +89,6 @@
}, },
"devDependencies": { "devDependencies": {
"babel-eslint": "^6.0.5", "babel-eslint": "^6.0.5",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.7.2", "babel-register": "^6.7.2",
"babelify": "^7.2.0", "babelify": "^7.2.0",
"beefy": "^2.1.5", "beefy": "^2.1.5",

Loading…
Cancel
Save