Skip to content

Instantly share code, notes, and snippets.

Rajat Barman rajatbarman

Block or report user

Report or block rajatbarman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rajatbarman / webpack.config.js
Last active Nov 18, 2016 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
View webpack.config.js
//Explanation for the config file can be found here
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",
You can’t perform that action at this time.