Skip to content

Instantly share code, notes, and snippets.

View FaiChou's full-sized avatar
:octocat:
Focusing

周辉 FaiChou

:octocat:
Focusing
View GitHub Profile
@FaiChou
FaiChou / webpack.config.js
Created July 26, 2017 07:54 — 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"