mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
commit
48220cff0e
@ -17,7 +17,7 @@ function startApp(){
|
||||
console.log('getting main account...')
|
||||
web3.eth.getAccounts(function(err, addresses){
|
||||
if (err) throw err
|
||||
console.log('set address')
|
||||
console.log('set address', addresses[0])
|
||||
primaryAccount = addresses[0]
|
||||
})
|
||||
|
||||
|
@ -80,15 +80,6 @@ function createBundle(entryPoint){
|
||||
plugin: [watchify],
|
||||
})
|
||||
|
||||
// global transpile
|
||||
var bablePreset = require.resolve('babel-preset-es2015')
|
||||
|
||||
bundler.transform(babelify, {
|
||||
global: true,
|
||||
presets: [bablePreset],
|
||||
babelrc: false,
|
||||
})
|
||||
|
||||
bundler.on('update', bundle)
|
||||
bundle()
|
||||
|
||||
|
@ -89,7 +89,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-eslint": "^6.0.5",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-register": "^6.7.2",
|
||||
"babelify": "^7.2.0",
|
||||
"beefy": "^2.1.5",
|
||||
|
Loading…
Reference in New Issue
Block a user