Created
November 22, 2017 21:26
-
-
Save hcastillaq/05976e8921222fa738e36b340f61f87b to your computer and use it in GitHub Desktop.
webpack configuration with multiple entries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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