Adjust keyethereum/secp256 aliasses (#5903)

* Alias keyethereum to empty for libraries/npm

* Alias long-standing vertx warning to empty

* Alias secp256k1

* remove package-lock.json (not active atm)
This commit is contained in:
Jaco Greeff 2017-06-22 13:29:12 +02:00 committed by GitHub
parent df51cad7e2
commit e1cd60987b
4 changed files with 9 additions and 4 deletions

View File

@ -101,6 +101,7 @@
"css-loader": "0.26.1",
"ejs-loader": "0.3.0",
"ejsify": "1.0.0",
"empty-module": "0.0.2",
"enzyme": "2.7.1",
"eslint": "3.16.1",
"eslint-config-semistandard": "7.0.0",

View File

@ -139,7 +139,8 @@ module.exports = {
resolve: {
alias: {
'~': path.resolve(__dirname, '../src'),
'keythereum': path.resolve(__dirname, '../node_modules/keythereum/dist/keythereum')
'keythereum': path.resolve(__dirname, '../node_modules/keythereum/dist/keythereum'),
'vertx': 'empty-module'
},
modules: [
path.join(__dirname, '../node_modules')

View File

@ -42,7 +42,9 @@ module.exports = {
resolve: {
alias: {
'~': path.resolve(__dirname, '../src'),
'keythereum': path.resolve(__dirname, '../node_modules/keythereum/dist/keythereum')
'keythereum': 'empty-module',
'secp256k1': 'empty-module',
'vertx': 'empty-module'
}
},

View File

@ -76,8 +76,9 @@ module.exports = {
resolve: {
alias: {
'~': path.resolve(__dirname, '../src'),
'secp256k1': path.resolve(__dirname, '../node_modules/secp256k1/js'),
'keythereum': path.resolve(__dirname, '../node_modules/keythereum/dist/keythereum')
'keythereum': 'empty-module',
'secp256k1': 'empty-module',
'vertx': 'empty-module'
},
modules: [
path.resolve('./src'),