Exploring Webpack 5 options

Options are a set of variables that can be altered using the CLI. Configuration, on the other hand, is done by altering the file contents. Options' settings can be adjusted using the configuration file, however. The following is a list of the options supported by Webpack 5 currently:

  • Asynchronous Module Definition (AMD)
  • Bail
  • Cache
  • Loader
  • Parallelism
  • Profile
  • Records Path
  • Records Input Path
  • Records Output Path
  • Name

The following sections describe and illustrate each option is a bit more detail. We will begin with something that, after a cursory examination of Webpack's configuration, might find you scratching your head: the AMD option.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.36.30