// ...
    settings: {
      react: { version: "detect" },
    },
// ...