Skip to content

Instantly share code, notes, and snippets.

@t686
t686 / webpack.config.js
Created May 17, 2016 17:25 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@t686
t686 / HandlebarsTemplatesUsageGuide.md
Created May 14, 2015 10:04
Precompiling handlebars templates with custom helpers

Small guide on how to manage your Handlebars.js templates.

Be sure you are familiar with {{mustache}} templating techniques.

#Installation Install Handlebars npm package running this command:

npm install -g handlebars (installed node and npm required)