Webpack beberapa file

// place in wepack.config.js
// this creates app.js & vendor.js

module.exports = {
  entry: {
    app: 'src/app.js',
    vendor: 'src/vendor.js'
  },
  output: {
    path: __dirname + '/public',
    filename: '[name].js'
  }
}
Gabriele Orlandi