Skip to content

Instantly share code, notes, and snippets.

@hcastillaq
Created November 22, 2017 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hcastillaq/b76ba5f4f2b6bca75c897e7936fa1cd2 to your computer and use it in GitHub Desktop.
Save hcastillaq/b76ba5f4f2b6bca75c897e7936fa1cd2 to your computer and use it in GitHub Desktop.
simple webpack configuration
const webpack = require('webpack');
const config =
{
entry:'./src/js/app.js',
output:{
path: __dirname + '/dist/js/',
filename: 'bundle.js'
}
}
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment