Name

The Name option is expressed as a string and denotes the name of the configuration. It should be used when loading multiple configurations. The following example shows code that should form part of the webpack.config.js file:

module.exports = {
  name: 'admin-app'
};

The preceding code is useful when using multiple configuration files. The code will name this configuration file as admin-app. This gives you a long rundown of options and how to use them. Let's now take a look at what we have covered throughout this chapter.

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

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