Skip to content

Instantly share code, notes, and snippets.

@ndemengel
Last active November 20, 2016 16:25
Show Gist options
  • Save ndemengel/3bc106eac2c6a8d095ce0bbdab55420c to your computer and use it in GitHub Desktop.
Save ndemengel/3bc106eac2c6a8d095ce0bbdab55420c to your computer and use it in GitHub Desktop.
Webpack: JS entry point importing Handlebars template (result here: https://gist.github.com/ndemengel/69efe8357a5cdf91a1f7ee9671c4e0cc)
Hello {{name}}!
var helloTemplate = require('../../resources/handlebars/hello.hbs');
console.log(helloTemplate({name: 'John'}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment