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:
commit
2f289fb115
@ -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){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user