status-go/geth/jail/internal/fetch/js/webpack.config.js
Ivan Daniluk 6a096607cf Add FetchAPI support and fix loop race [upd] #289 (#293)
This PR adds Fetch API and fixes #289 by using concurrency safe Otto VM wrapper wherever it's possible. This involves new package geth/jail/vm that is used by jail and by our forked ottoext/{fetch/timers/loop} packages.

It also adds more tests that are supposed to be run with --race flag of go test.
2017-09-08 14:55:17 +03:00

24 lines
350 B
JavaScript

module.exports = {
devtool: 'source-map',
entry: './index',
output: {
filename: 'bundle.js',
},
resolve: {
extensions: ['', '.js'],
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel?stage=0',
},
],
},
node: {
console: false,
process: false,
setImmediate: false,
},
};