Skip to content

Instantly share code, notes, and snippets.

View Aronja's full-sized avatar
💭
alright!

Astrid Ronja Aronja

💭
alright!
View GitHub Profile
@Aronja
Aronja / webpack.config.js
Created June 28, 2018 09:03 — 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"