Skip to content

Instantly share code, notes, and snippets.

@hcastillaq
Created November 22, 2017 21:26
Show Gist options
  • Select an option

  • Save hcastillaq/05976e8921222fa738e36b340f61f87b to your computer and use it in GitHub Desktop.

Select an option

Save hcastillaq/05976e8921222fa738e36b340f61f87b to your computer and use it in GitHub Desktop.
webpack configuration with multiple entries
const webpack = require('webpack');
const config =
{
entry:
{
one: './src/js/app.js',
},
output:{
path: __dirname + '/dist/js/',
filename: '[name].js'
}
}
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment