Skip to content

Instantly share code, notes, and snippets.

@hcastillaq
Created November 22, 2017 21:26
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/05976e8921222fa738e36b340f61f87b to your computer and use it in GitHub Desktop.
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