Update webpack

This commit is contained in:
Jaco Greeff
2017-08-04 14:28:55 +02:00
parent 44a7c3d0b6
commit 49a4499d52
5 changed files with 30 additions and 19 deletions

View File

@@ -17,5 +17,10 @@
module.exports = {
test: /\.js$/,
include: /node_modules\/(get-own-enumerable-property-symbols|ethereumjs-tx|stringify-object)/,
use: [ 'happypack/loader?id=babel' ]
use: [ {
loader: 'happypack/loader',
options: {
id: 'babel'
}
} ]
};

View File

@@ -17,5 +17,10 @@
module.exports = {
test: /\.js$/,
include: /node_modules\/@parity\//,
use: [ 'happypack/loader?id=babel' ]
use: [ {
loader: 'happypack/loader',
options: {
id: 'babel'
}
} ]
};