Build with @parity/(abi|api) packages

This commit is contained in:
Jaco Greeff 2017-04-20 10:34:23 +02:00
parent 4568300d9b
commit 0d9e849162
3 changed files with 16 additions and 2 deletions

View File

@ -158,6 +158,8 @@
"yargs": "6.6.0"
},
"dependencies": {
"@parity/abi": "file:src/abi",
"@parity/api": "file:src/api",
"@parity/wordlist": "1.0.1",
"base32.js": "0.1.0",
"bignumber.js": "3.0.1",

View File

@ -65,9 +65,15 @@ module.exports = {
exclude: /(node_modules)/,
use: [ 'happypack/loader?id=babel-js' ]
},
// duplicated for clarity since the number of @parity modules will increase
{
test: /\.js$/,
include: /node_modules\/(material-chip-input|ethereumjs-tx|@parity\/wordlist)/,
include: /node_modules\/@parity\/(abi|api|wordlist)/,
use: 'babel-loader'
},
{
test: /\.js$/,
include: /node_modules\/(material-chip-input|ethereumjs-tx)/,
use: 'babel-loader'
},
{

View File

@ -58,9 +58,15 @@ module.exports = {
'babel-loader?cacheDirectory=true'
]
},
// duplicated for clarity since the number of @parity modules will increase
{
test: /\.js$/,
include: /node_modules\/(ethereumjs-tx|@parity\/wordlist)/,
include: /node_modules\/@parity\/(abi|api|wordlist)/,
use: 'babel-loader'
},
{
test: /\.js$/,
include: /node_modules\/ethereumjs-tx/,
use: 'babel-loader'
},
{