webpack.config.js
const connect = require("connect");
module.exports = {
// ...
devServer: {
server: {
server: "http2",
app: () => connect(),
},
},
};
- The script should open
https://localhost:8080/
in your default browser. - You should see the text on the page itself change to read
Success!
.