Skip to content

Instantly share code, notes, and snippets.

@johnstew
Created January 28, 2017 18:47
Show Gist options
  • Save johnstew/bdccb4310aeceaffc2e8ac5e0a791a8f to your computer and use it in GitHub Desktop.
Save johnstew/bdccb4310aeceaffc2e8ac5e0a791a8f to your computer and use it in GitHub Desktop.
basic webpack config
const path = require('path');
module.exports = {
entry: path.join(__dirname, 'index.js'),
output: {
filename: 'index.bundle.js',
path: path.join(__dirname, 'build')
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment