Skip to content

Commit

Permalink
fix(webpack): fix derivation of __DEV__ from NODE_ENV (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbland94 authored Jan 29, 2025
1 parent da24257 commit 921fbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const webpackFinal = async (config: any, options: Options) => {
'process.env.NODE_ENV': JSON.stringify(
process.env.NODE_ENV || 'development',
),
__DEV__: process.env.NODE_ENV !== 'production' || true,
__DEV__: process.env.NODE_ENV !== 'production',
}),
);

Expand Down

0 comments on commit 921fbab

Please sign in to comment.