diff --git a/astro.config.mjs b/astro.config.mjs
index 8dd067e0..97ddeaa7 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -21,6 +21,9 @@ export default defineConfig({
"#": fileURLToPath(new URL("./src", import.meta.url))
}
},
+ ssr: {
+ noExternal: ["@pdfme/generator", "@pdfme/common", "@pdfme/schemas"]
+ },
build: {
commonjsOptions: {
transformMixedEsModules: false
diff --git a/src/components/Dashboard/DashboardAusweis.svelte b/src/components/Dashboard/DashboardAusweis.svelte
index d62040b8..aa6572e6 100644
--- a/src/components/Dashboard/DashboardAusweis.svelte
+++ b/src/components/Dashboard/DashboardAusweis.svelte
@@ -1,7 +1,7 @@
diff --git a/src/components/Notifications/NotificationWrapper.svelte b/src/components/Notifications/NotificationWrapper.svelte
index fda211bc..3ced2ee1 100644
--- a/src/components/Notifications/NotificationWrapper.svelte
+++ b/src/components/Notifications/NotificationWrapper.svelte
@@ -2,7 +2,7 @@
import Notification from "./Notification.svelte";
import RawNotificationWrapper from "./RawNotificationWrapper.svelte";
- import { notifications } from "./shared";
+ import { notifications } from "./shared.js";
diff --git a/src/components/Notifications/RawNotification.svelte b/src/components/Notifications/RawNotification.svelte
index f156b583..7f24c7de 100644
--- a/src/components/Notifications/RawNotification.svelte
+++ b/src/components/Notifications/RawNotification.svelte
@@ -1,5 +1,5 @@