Network Fix

Alte deps entfernt, import Pfade angepasst und das Netzwerk Problem das Umbe hatte provisorisch gelöst.
This commit is contained in:
Moritz Utcke
2024-08-17 12:24:22 +08:00
parent 766e0b125a
commit e290f9e231
16 changed files with 36 additions and 33 deletions

View File

@@ -10,6 +10,8 @@ import node from "@astrojs/node";
// https://astro.build/config
import mdx from "@astrojs/mdx";
import { fileURLToPath } from "url";
// https://astro.build/config
export default defineConfig({
integrations: [svelte(), tailwind(), mdx()],
@@ -18,6 +20,16 @@ export default defineConfig({
vite: {
optimizeDeps: {
exclude: ["@ibcornelsen/api", "@ibcornelsen/database"]
},
resolve: {
alias: {
"#": fileURLToPath(new URL("./src", import.meta.url))
}
},
build: {
commonjsOptions: {
transformMixedEsModules: true
}
}
},
adapter: node({