Skip to content

Commit

Permalink
Merge branch 'dev' into feature/CW-2297-mobile-navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Nov 14, 2023
2 parents 48c3040 + 7a819e5 commit 7525283
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ module.exports = {
{
plugin: {
overrideWebpackConfig: ({ webpackConfig }) => {
webpackConfig.devtool =
process.env.REACT_APP_ENV === "dev"
? "source-map"
: "eval-cheap-module-source-map";
if (process.env.REACT_APP_ENV === "production") {
delete webpackConfig.devtool;
}

return webpackConfig;
},
Expand Down

0 comments on commit 7525283

Please sign in to comment.