Fixes #23631 This PR disables the react overlay seen during development. This improves developer efficiency while writing code and running tests as the developer will not have to manually close the overlay. The prettier warnings will show up nonetheless because of pre-commit lint hook, so I believe that this change shouldn't affect the processes around code quality
18 lines
291 B
JavaScript
18 lines
291 B
JavaScript
const { merge } = require("webpack-merge");
|
|
|
|
const common = require("./craco.common.config.js");
|
|
|
|
module.exports = merge(common, {
|
|
devServer: {
|
|
client: {
|
|
overlay: {
|
|
warnings: false,
|
|
errors: false
|
|
}
|
|
}
|
|
},
|
|
optimization: {
|
|
minimize: false,
|
|
},
|
|
});
|