This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-astro/astro.config.mjs
2024-11-16 16:43:07 -08:00

22 lines
556 B
JavaScript

import { defineConfig } from "astro/config";
import cloudflare from "@astrojs/cloudflare";
import react from "@astrojs/react";
export default defineConfig({
output: "server",
adapter: cloudflare(),
integrations: [react()],
vite: {
resolve: {
alias: {
"@cdransf": "node_modules/@cdransf",
"@components": "/src/components",
"@data": "/src/utils/data",
"@layouts": "/src/layouts",
"@scripts": "/src/scripts",
"@styles": "/src/styles",
"@utils": "/src/utils",
},
},
},
});