Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Last active September 16, 2018 21:08
Show Gist options
  • Save jamigibbs/58073b3741d0e8d4893376c6752ee0b5 to your computer and use it in GitHub Desktop.
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