message: [static-build] Ignore framework routes if config/routes.json is present
diff: @@ -523,17 +523,15 @@ export async function build({
  Object.assign(output, extraOutputs.functions);
  }
  - if (framework) {
  + if (extraOutputs.routes) {
  + routes.push(...extraOutputs.routes);
  + } else if (framework) {
  const frameworkRoutes = await getFrameworkRoutes(
  framework,
  outputDirPrefix
  );
  routes.push(...frameworkRoutes);
  }
  -
  - if (extraOutputs.routes) {
  - routes.push(...extraOutputs.routes);
  - }
  }
  const watch = [path.join(mountpoint.replace(/^\.\/?/, ''), '**/*')];
  