Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit c9af9c8

Browse files
committed
remove isNotDevelopment
1 parent 190ed29 commit c9af9c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

webpack.config.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const HOST = process.env.HOST || 'localhost';
1313
const NODE_ENV = process.env.NODE_ENV || 'production';
1414
const isProduction = (NODE_ENV === 'production');
1515
const isDevelopment = (NODE_ENV === 'development');
16-
const isNotDevelopment = isDevelopment === false;
1716

1817
const config = {
1918
entry: isDevelopment
@@ -71,9 +70,9 @@ const config = {
7170
},
7271

7372
plugins: [
74-
isNotDevelopment
75-
? new SimpleProgressPlugin()
76-
: null,
73+
isDevelopment
74+
? null
75+
: new SimpleProgressPlugin(),
7776

7877
new webpack.DefinePlugin({
7978
'process.env.NODE_ENV': JSON.stringify(NODE_ENV),

0 commit comments

Comments
 (0)