Skip to content

Commit ce90ede

Browse files
Update Astro dependencies
1 parent a1f28db commit ce90ede

File tree

5 files changed

+912
-1543
lines changed

5 files changed

+912
-1543
lines changed

astro.config.mjs

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import starlight from '@astrojs/starlight';
4-
import tailwind from '@astrojs/tailwind';
54
import mdx from '@astrojs/mdx';
65
import starlightImageZoom from 'starlight-image-zoom';
76
import starlightAutoSidebar from 'starlight-auto-sidebar';
87

8+
import tailwindcss from '@tailwindcss/vite';
9+
910
// https://astro.build/config
1011
export default defineConfig({
1112
integrations: [starlight({
@@ -68,7 +69,7 @@ export default defineConfig({
6869
},
6970
],
7071
customCss: [
71-
'./src/tailwind.css',
72+
'./src/styles/global.css',
7273
],
7374
favicon: "/favicon.ico",
7475
plugins: [
@@ -77,17 +78,21 @@ export default defineConfig({
7778
],
7879
}),
7980
mdx(),
80-
tailwind({
81-
applyBaseStyles: false,
82-
}),
8381
],
84-
site: "https://help.cesbo.com",
85-
prefetch: {
86-
prefetchAll: true,
87-
defaultStrategy: "tap",
88-
},
89-
redirects: {
90-
"/": "/en",
91-
"/profile": "https://cesbo.com/accounts/profile/",
92-
},
82+
83+
site: "https://help.cesbo.com",
84+
85+
prefetch: {
86+
prefetchAll: true,
87+
defaultStrategy: "tap",
88+
},
89+
90+
redirects: {
91+
"/": "/en",
92+
"/profile": "https://cesbo.com/accounts/profile/",
93+
},
94+
95+
vite: {
96+
plugins: [tailwindcss()],
97+
},
9398
});

0 commit comments

Comments
 (0)