Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Last active September 16, 2018 21:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jamigibbs/58073b3741d0e8d4893376c6752ee0b5 to your computer and use it in GitHub Desktop.
const Handlebars = require('handlebars')
Handlebars.registerHelper('prod', () => {
return process.env.NODE_ENV === 'production';
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment