Skip to content

Commit

Permalink
update the webpack devtool configuration for testing on dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
budnik9 committed Nov 9, 2023
1 parent cff5098 commit 7a32ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
plugin: {
overrideWebpackConfig: ({ webpackConfig }) => {
webpackConfig.devtool =
process.env.REACT_APP_ENV === "dev"
process.env.NODE_ENV === "development"
? "source-map"
: "eval-cheap-module-source-map";

Expand Down

0 comments on commit 7a32ab8

Please sign in to comment.