Skip to content

Commit

Permalink
build script update.
Browse files Browse the repository at this point in the history
  • Loading branch information
bustardcelly committed Jun 19, 2018
1 parent 525d31f commit 9c62cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if(PROD || STAGING) {
*/

export default {
mode: process.env.NODE_ENV === 'production' || 'development',
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
entry: [path.join(process.cwd(), 'src', 'js', 'index.js')],
optimization: {
minimize: PROD || STAGING
Expand Down

0 comments on commit 9c62cfb

Please sign in to comment.