This example demonstrates using a webpack
config containing a target: web
config and target:node
config.
npm run webpack-dev-server -- --open
- The script should open
http://localhost:8080/
in your default browser. - You should see the text on the page itself change to read
[client.js, server.js]: Success!
.