1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'library' of github.com:MetaMask/metamask-plugin into library

This commit is contained in:
kumavis 2016-08-31 15:33:45 -07:00
commit 2f289fb115

View File

@ -45,9 +45,9 @@ dappServer.get('/app.js', function(req, res){
// serve static // serve static
dappServer.use(express.static('./example')) dappServer.use(express.static('./example'))
const dappPort = '9002'
dappServer.listen('9002') dappServer.listen(dappPort)
console.log(`Dapp listening on port ${dappPort}`)
function createBundle(entryPoint){ function createBundle(entryPoint){
@ -67,7 +67,7 @@ function createBundle(entryPoint){
global: true, global: true,
presets: [bablePreset], presets: [bablePreset],
}) })
bundler.on('update', bundle) bundler.on('update', bundle)
bundle() bundle()
@ -82,4 +82,4 @@ function createBundle(entryPoint){
}) })
} }
} }