dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.43k stars 499 forks source link

`devServer.client.overloay=false` is not work #501

Open nghieptiki opened 1 year ago

nghieptiki commented 1 year ago

What's happening I'm trying to turn off the overlay error. It's just not working.

CRACO version (ex. ^7.0.0)

CRACO config

const config: CracoConfig = {
  devServer: {
    client: {
      overlay: false
    },
  }
}

Additional information If I turn off devServer.client=false then it works.

const config: CracoConfig = {
  devServer: {
    client: false
  }
}
candy4290 commented 11 months ago

devServer: { client: false } this will cause the HMR to fail