Tell Webpack where your code is going to run so it can build it appropriately.
A Webpack target describes the environment where the generated code is expected to run. Your application might run in a browser, Node.js, or another JavaScript environment, and each environment provides different APIs and runtime features.
The target setting helps Webpack make the build appropriate for that environment. Understanding targets becomes useful when you are building libraries, server-side applications, or projects that need to run in different environments.
What you'll walk away knowing