Skip to content

Commit

Permalink
fix: Change condition for the IS_DEV flag (#2239)
Browse files Browse the repository at this point in the history
No jira. This fixes the IS_DEV flag being always false. insights-chrome assigns "production" value if there is a production build or leaves it undefined in other cases (including the development build).
  • Loading branch information
gkarat authored Aug 15, 2024
1 parent 24c329c commit 6b22959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
debug: true,
plugins: [
new webpack.DefinePlugin({
IS_DEV: process.env.NODE_ENV === 'development',
IS_DEV: process.env.NODE_ENV !== 'production',
}),
],
moduleFederation: {
Expand Down

0 comments on commit 6b22959

Please sign in to comment.