11// @ts -check
22import { defineConfig } from 'astro/config' ;
33import starlight from '@astrojs/starlight' ;
4- import tailwind from '@astrojs/tailwind' ;
54import mdx from '@astrojs/mdx' ;
65import starlightImageZoom from 'starlight-image-zoom' ;
76import starlightAutoSidebar from 'starlight-auto-sidebar' ;
87
8+ import tailwindcss from '@tailwindcss/vite' ;
9+
910// https://astro.build/config
1011export 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