Skip to content

Instantly share code, notes, and snippets.

@jamigibbs jamigibbs/hbs-helper.js
Last active Sep 16, 2018

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
You can’t perform that action at this time.