Skip to content

Commit

Permalink
fix: disable crypto in config.resolve.fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Jan 9, 2024
1 parent c249ef4 commit 8ba66a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ module.exports = composePlugins(withNx(), withReact(), (config) => {
// Update the webpack config as needed here.
// e.g. `config.plugins.push(new MyPlugin())`
config.ignoreWarnings = [/Failed to parse source map/]
config.resolve.fallback = {
crypto: false,
}
return config
})

0 comments on commit 8ba66a3

Please sign in to comment.