Skip to content

Commit

Permalink
fix(views): bind webpackConfig env to pug template
Browse files Browse the repository at this point in the history
fix #243
  • Loading branch information
bmenant committed Mar 8, 2019
1 parent 3a50c52 commit eb7f6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/includes/devtools.pug
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if process.env.NODE_ENV !== 'production'
if webpackConfig.mode !== 'production'
script(src='test/infrastructure/mocha.js')
script(src='test/infrastructure/chai.js')
script(src='test/infrastructure/chai-as-promised.js')
Expand Down

0 comments on commit eb7f6a2

Please sign in to comment.