Keyethereum fs dependency (#5902)
* Set process.browser * Empty fs module (keyethereum dep) * !==
This commit is contained in:
@@ -148,6 +148,10 @@ module.exports = {
|
||||
unsafeCache: true
|
||||
},
|
||||
|
||||
node: {
|
||||
fs: 'empty'
|
||||
},
|
||||
|
||||
plugins: (function () {
|
||||
const DappsHTMLInjection = DAPPS.filter((dapp) => !dapp.skipBuild).map((dapp) => {
|
||||
return new HtmlWebpackPlugin({
|
||||
|
||||
@@ -46,6 +46,10 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
|
||||
node: {
|
||||
fs: 'empty'
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
@@ -70,7 +70,9 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
node: {
|
||||
fs: 'empty'
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.resolve(__dirname, '../src'),
|
||||
|
||||
Reference in New Issue
Block a user