22 lines
556 B
JavaScript
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",
|
|
},
|
|
},
|
|
},
|
|
});
|