fix(server-build): füge .js-Erweiterungen zu allen relativen Imports hinzu für ESNext-Module-Kompatibilität

This commit is contained in:
2025-10-01 22:17:23 +02:00
parent c6c1455612
commit 74f55486bc
5 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ import { createKV } from "../lib/create-kv";
import { createKV as createAvailabilityKV } from "../lib/create-kv";
import { sendEmail, sendEmailWithAGB, sendEmailWithAGBAndCalendar, sendEmailWithInspirationPhoto } from "../lib/email";
import { renderBookingPendingHTML, renderBookingConfirmedHTML, renderBookingCancelledHTML, renderAdminBookingNotificationHTML } from "../lib/email-templates";
import { router as rootRouter } from "./index";
import { router as rootRouter } from "./index.js";
import { createORPCClient } from "@orpc/client";
import { RPCLink } from "@orpc/client/fetch";
import { checkBookingRateLimit, getClientIP } from "../lib/rate-limiter";

View File

@@ -1,4 +1,4 @@
import { router as storageRouter } from "./storage";
import { router as storageRouter } from "./storage.js";
export const demo = {
storage: storageRouter,

View File

@@ -1,10 +1,10 @@
import { demo } from "./demo";
import { router as treatments } from "./treatments";
import { router as bookings } from "./bookings";
import { router as auth } from "./auth";
import { router as availability } from "./availability";
import { router as cancellation } from "./cancellation";
import { router as legal } from "./legal";
import { demo } from "./demo/index.js";
import { router as treatments } from "./treatments.js";
import { router as bookings } from "./bookings.js";
import { router as auth } from "./auth.js";
import { router as availability } from "./availability.js";
import { router as cancellation } from "./cancellation.js";
import { router as legal } from "./legal.js";
export const router = {
demo,