Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. var webpack = require('webpack');
  2.  
  3. module.exports = {
  4. entry: {
  5. app: './src/js/app.js',
  6. vendor: [
  7. 'jquery'
  8. ]
  9. },
  10. output: {
  11. path: './dist/js/',
  12. publicPath: '/js/',
  13. filename: 'app.js'
  14. },
  15. target: 'web',
  16. plugins: [
  17. new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.js')
  18. ],
  19. devtool: 'source-map'
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement