@@ -2,7 +2,6 @@ import path from "path";
22import { defineConfig } from "astro/config" ;
33import mdx from "@astrojs/mdx" ;
44import sitemap from "@astrojs/sitemap" ;
5- import tailwind from "@astrojs/tailwind" ;
65import remarkToc from "remark-toc" ;
76import rehypeSlug from "rehype-slug" ;
87import rehypeAutolinkHeadings from "rehype-autolink-headings" ;
@@ -11,6 +10,7 @@ import pagefind from "astro-pagefind";
1110import deleteUnusedImages from "astro-delete-unused-images" ;
1211import { execSync } from "node:child_process" ;
1312import compress from "astro-compress" ;
13+ import tailwindcss from "@tailwindcss/vite" ;
1414
1515let gitVersion = String ( process . env . GIT_VERSION ?? "" ) . slice ( 0 , 7 ) ;
1616
@@ -60,6 +60,7 @@ export default defineConfig({
6060 ) ,
6161 __GIT_VERSION__ : JSON . stringify ( gitVersion ) ,
6262 } ,
63+
6364 resolve : {
6465 alias : {
6566 "@utils" : path . resolve ( "./src/utils" ) ,
@@ -74,6 +75,8 @@ export default defineConfig({
7475 "@src" : path . resolve ( "./src" ) ,
7576 } ,
7677 } ,
78+
79+ plugins : [ tailwindcss ( ) ] ,
7780 } ,
7881 markdown : {
7982 remarkPlugins : [
@@ -93,6 +96,7 @@ export default defineConfig({
9396 } ,
9497 ] ,
9598 ] ,
99+ plugins : [ tailwindcss ( ) ] ,
96100 } ,
97101 site : process . env . SITE_URL || "https://ep2025.europython.eu" ,
98102 redirects : {
@@ -109,9 +113,6 @@ export default defineConfig({
109113 integrations : [
110114 mdx ( ) ,
111115 sitemap ( ) ,
112- tailwind ( {
113- nesting : true ,
114- } ) ,
115116 metaTags ( ) ,
116117 pagefind ( ) ,
117118 deleteUnusedImages ( ) ,
0 commit comments