Skip to content

Commit 921fbab

Browse files
authored
fix(webpack): fix derivation of __DEV__ from NODE_ENV (#99)
1 parent da24257 commit 921fbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const webpackFinal = async (config: any, options: Options) => {
7575
'process.env.NODE_ENV': JSON.stringify(
7676
process.env.NODE_ENV || 'development',
7777
),
78-
__DEV__: process.env.NODE_ENV !== 'production' || true,
78+
__DEV__: process.env.NODE_ENV !== 'production',
7979
}),
8080
);
8181

0 commit comments

Comments
 (0)