feat(doc): add vercel

This commit is contained in:
thomas
2023-09-25 21:34:32 +02:00
parent b0dfb17b6e
commit 5c7fe53422
3 changed files with 5 additions and 4 deletions

1
docs/.gitignore vendored
View File

@@ -19,3 +19,4 @@ pnpm-debug.log*
# macOS-specific files # macOS-specific files
.DS_Store .DS_Store
.vercel

View File

@@ -1,10 +1,10 @@
import starlight from '@astrojs/starlight'; import starlight from '@astrojs/starlight';
import vercel from '@astrojs/vercel/serverless'; import vercel from '@astrojs/vercel/static';
import { defineConfig } from 'astro/config'; import { defineConfig } from 'astro/config';
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
output: 'server', output: 'static',
adapter: vercel({ adapter: vercel({
webAnalytics: { webAnalytics: {
enabled: true, enabled: true,

View File

@@ -47,6 +47,6 @@ To ease the process, I created a Nx generator that will create all the boilerpla
The only thing left to do is to create your challenge. 🚀 The only thing left to do is to create your challenge. 🚀
:::warning :::danger
Don't forget to update the docs to introduice your challenge and give your instructions. Don't forget to update the docs to introduce your challenge and give your instructions.
::: :::