Skip to content

Commit

Permalink
chore: Configure netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Nov 8, 2023
1 parent 33ae6e5 commit c8d3631
Show file tree
Hide file tree
Showing 5 changed files with 19,036 additions and 118 deletions.
10 changes: 6 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineConfig } from 'astro/config';

import { defineConfig } from "astro/config";
import netlify from "@astrojs/netlify/functions";
import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
integrations: [react()]
});
integrations: [react()],
output: "server",
adapter: netlify(),
});
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
command = "export PUBLIC_BASE_URL=$DEPLOY_URL npm run build"
publish = "dist"
Loading

0 comments on commit c8d3631

Please sign in to comment.