WebPack - Entry point


An entry point indicates which module webpack should use to begin building out its internal dependency graph. Every dependency is then processed and outputted into files called bundles.


Entry points can be given in the webpack.config.js] file.

module.exports = {
  entry: {
    app: './src/app.js',
    vendors: './src/vendors.js'

Shorthand for only one entry point

module.exports = {
  entry: './path/to/my/entry/file.js'

Documentation / Reference

Discover More
Web - WebPack

Webpack is a bundler written in Node Javascript. entry point. output bundle laravel-mix is a Fluent interface around webpack

Share this page:
Follow us:
Task Runner