Skip to content

Commit

Permalink
Define __DEV__ according to process.env.NODE_ENV.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Jul 29, 2021
1 parent 8d7017e commit 5c27627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const webpack = require("webpack");
module.exports = override(
addWebpackPlugin(
new webpack.DefinePlugin({
__DEV__: JSON.stringify(false),
__DEV__: JSON.stringify(process.env.NODE_ENV !== "production"),
}),
),
);

0 comments on commit 5c27627

Please sign in to comment.