Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Last active September 16, 2018 21:08
Embed
What would you like to do?
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