Skip to content

Instantly share code, notes, and snippets.

View ikushlianski's full-sized avatar
🔨

Ilya Kushlianski ikushlianski

🔨
View GitHub Profile
@ikushlianski
ikushlianski / webpack.config.js
Created September 8, 2017 11:15 — 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"