Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #326 from Bayer-Group/audit_vulnerabilities
Browse files Browse the repository at this point in the history
Audit vulnerabilities
  • Loading branch information
stazrad authored Aug 5, 2021
2 parents d851f86 + b2224e0 commit 64b9e97
Show file tree
Hide file tree
Showing 4 changed files with 1,276 additions and 1,541 deletions.
14 changes: 11 additions & 3 deletions app/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ module.exports = {

resolve: {
// Create aliases to import or require certain modules more easily
alias: {...alias}
alias: {...alias},
fallback: {
fs: false,
"stream": false
}
},

module: {
Expand Down Expand Up @@ -63,6 +67,11 @@ module.exports = {
favicon: path.resolve(__dirname, 'favicon.ico'),
}),

new webpack.ProvidePlugin({
process: 'process/browser',
}),


// Do not emit compiled assets that include errors
new webpack.NoEmitOnErrorsPlugin()
],
Expand All @@ -73,6 +82,5 @@ module.exports = {
publicPath: path.resolve('/'),
contentBase: path.resolve(__dirname, '../', 'build'),
historyApiFallback: true
},
node: { fs: 'empty' }
}
}
Loading

0 comments on commit 64b9e97

Please sign in to comment.