Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var webpack = require('webpack');
- module.exports = {
- entry: {
- app: './src/js/app.js',
- vendor: [
- 'jquery'
- ]
- },
- output: {
- path: './dist/js/',
- publicPath: '/js/',
- filename: 'app.js'
- },
- target: 'web',
- plugins: [
- new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.js')
- ],
- devtool: 'source-map'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement