Skip to content

Instantly share code, notes, and snippets.

@joeeames
Created May 18, 2015 23:13
Show Gist options
  • Save joeeames/897df63a280a76a949ea to your computer and use it in GitHub Desktop.
Save joeeames/897df63a280a76a949ea to your computer and use it in GitHub Desktop.
'use strict';
var webpack = require('webpack'),
path = require('path');
// PATHS
var PATHS = {
app: __dirname + '/app',
bower: __dirname + '/app/bower_components'
};
module.exports = {
context: PATHS.app,
entry: {
app: './index.js'
},
output: {
path: PATHS.app,
filename: 'bundle.js'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment