Fix parity.js badly built (#3526)

This commit is contained in:
Nicolas Gotchac 2016-11-18 19:49:30 +01:00 committed by Jaco Greeff
parent d870b71636
commit 53fcfa658f

View File

@ -26,7 +26,6 @@ const DEST = process.env.BUILD_DEST || '.build';
module.exports = { module.exports = {
context: path.join(__dirname, './src'), context: path.join(__dirname, './src'),
target: 'node',
entry: { entry: {
// library // library
'inject': ['./web3.js'], 'inject': ['./web3.js'],
@ -39,14 +38,7 @@ module.exports = {
library: '[name].js', library: '[name].js',
libraryTarget: 'umd' libraryTarget: 'umd'
}, },
externals: {
'node-fetch': 'node-fetch',
'vertx': 'vertx'
},
module: { module: {
noParse: [
/babel-polyfill/
],
loaders: [ loaders: [
{ {
test: /\.js$/, test: /\.js$/,