How to display the error message directly on the browser page by webpack

includes Eslint format and compilation errors

Apr.03,2021
Set overlay: true in

devServer


right solution upstairs. Overlay has finer control. Add a note:

module.exports = {
  //...
  devServer: {
    overlay: {
      warnings: true,
      errors: true
    }
  }
};
Menu