Build with @parity/(abi|api) packages
This commit is contained in:
parent
4568300d9b
commit
0d9e849162
@ -158,6 +158,8 @@
|
|||||||
"yargs": "6.6.0"
|
"yargs": "6.6.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@parity/abi": "file:src/abi",
|
||||||
|
"@parity/api": "file:src/api",
|
||||||
"@parity/wordlist": "1.0.1",
|
"@parity/wordlist": "1.0.1",
|
||||||
"base32.js": "0.1.0",
|
"base32.js": "0.1.0",
|
||||||
"bignumber.js": "3.0.1",
|
"bignumber.js": "3.0.1",
|
||||||
|
@ -65,9 +65,15 @@ module.exports = {
|
|||||||
exclude: /(node_modules)/,
|
exclude: /(node_modules)/,
|
||||||
use: [ 'happypack/loader?id=babel-js' ]
|
use: [ 'happypack/loader?id=babel-js' ]
|
||||||
},
|
},
|
||||||
|
// duplicated for clarity since the number of @parity modules will increase
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
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'
|
use: 'babel-loader'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -58,9 +58,15 @@ module.exports = {
|
|||||||
'babel-loader?cacheDirectory=true'
|
'babel-loader?cacheDirectory=true'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
// duplicated for clarity since the number of @parity modules will increase
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
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'
|
use: 'babel-loader'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user