Skip to content

Commit

Permalink
build(app): suppress warning while building app
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Jan 9, 2024
1 parent df79d7f commit d3de79b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ module.exports = {
webpackConfig.output.publicPath = 'auto'

// For suppressing sourcemap warnings coming from some dependencies
webpackConfig.ignoreWarnings = [/Failed to parse source map/]
webpackConfig.ignoreWarnings = [
/Failed to parse source map/,
/Critical dependency: the request of a dependency is an expression/,
]

webpackConfig.resolve = {
...webpackConfig.resolve,
Expand Down

0 comments on commit d3de79b

Please sign in to comment.