Skip to content

Instantly share code, notes, and snippets.

@okonet
Created July 11, 2015 19:47
Show Gist options
  • Save okonet/7bb314d32094c1ec6f98 to your computer and use it in GitHub Desktop.
Save okonet/7bb314d32094c1ec6f98 to your computer and use it in GitHub Desktop.
// webpack.config.js
module.exports = {
entry: {
vendor: './src/vendor.js',
main: './src/index.js'
},
output: {
path: path.join(__dirname, 'build'),
filename: '[name].[hash].js'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment