Skip to content

Commit

Permalink
restore dev tools by default (when DEV_TOOLS env variable is unset/un…
Browse files Browse the repository at this point in the history
…defined)
  • Loading branch information
jebeck committed Oct 4, 2017
1 parent d096b5f commit fe3ad29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var defineEnvPlugin = new webpack.DefinePlugin({
__ABOUT_MAX_LENGTH__: JSON.stringify(process.env.ABOUT_MAX_LENGTH || null),
__DEV__: isDev,
__TEST__: false,
__DEV_TOOLS__: (process.env.DEV_TOOLS !== null) ? process.env.DEV_TOOLS : (isDev ? true : false)
__DEV_TOOLS__: (process.env.DEV_TOOLS != null) ? process.env.DEV_TOOLS : (isDev ? true : false)
});

var plugins = [
Expand Down

0 comments on commit fe3ad29

Please sign in to comment.