1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

ignore that weird electron dependency

This commit is contained in:
Matthias Kretschmann 2022-01-11 09:45:15 +00:00
parent 4caf72d0c9
commit 2ddfb3a795
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 13 additions and 4 deletions

View File

@ -19,6 +19,12 @@ module.exports = (phase, { defaultConfig }) => {
)
// for old ocean.js, most likely can be removed later on
config.plugins.push(
new options.webpack.IgnorePlugin({
resourceRegExp: /^electron$/
})
)
config.resolve.fallback = {
fs: false,
crypto: false,

11
package-lock.json generated
View File

@ -108,6 +108,7 @@
}
},
"../ocean.js": {
"name": "@oceanprotocol/lib",
"version": "1.0.0-alpha",
"license": "Apache-2.0",
"dependencies": {
@ -116,6 +117,7 @@
"cross-fetch": "^3.1.4",
"crypto-js": "^4.0.0",
"decimal.js": "^10.2.1",
"ethereumjs-util": "^7.1.3",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"node-abort-controller": "^2.0.0",
@ -123,8 +125,8 @@
"underscore": "^1.13.1",
"uuid": "^8.3.2",
"web3": ">=1.3.5",
"web3-core": "^1.5.3",
"web3-eth-contract": "^1.5.2"
"web3-core": "^1.6.1",
"web3-eth-contract": "^1.6.1"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.5.1",
@ -29329,6 +29331,7 @@
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"ethereumjs-util": "^7.1.3",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"microbundle": "^0.14.0",
@ -29348,8 +29351,8 @@
"underscore": "^1.13.1",
"uuid": "^8.3.2",
"web3": ">=1.3.5",
"web3-core": "^1.5.3",
"web3-eth-contract": "^1.5.2"
"web3-core": "^1.6.1",
"web3-eth-contract": "^1.6.1"
}
},
"@oceanprotocol/typographies": {