Skip to content

Instantly share code, notes, and snippets.

View dhanimay's full-sized avatar

Dhani Mayfield dhanimay

View GitHub Profile
@dhanimay
dhanimay / webpack.config.js
Created November 27, 2016 09:28 — 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"