This example demonstrates using a webpack
config containing an array of configs.
npx webpack serve --open
- The script should open
http://localhost:8080/
in your default browser. - You should see the text on the page itself change to read
Success!
. - Navigate to
http://localhost:8080/bundle2.js
- The browser should display a minified JavaScript bundle.