devServer public option in Webpack 5

Viewed 1004

In Webpack 4, I used to set the external network URL of the dev server as follows:

module.exports = {
  //...
  devServer: {
    public: 'myapp.test:80'
  }
};

In the Webpack 5 docs however, I can't find this option. How can I configure this?

1 Answers
Related