@@ -70,30 +70,3 @@ const changelogWithFrontmatter = [
7070
7171// Write the processed changelog to the website content directory
7272await fs . writeFile ( path . join ( "apps" , "website" , "content" , "docs" , "changelog.md" ) , changelogWithFrontmatter ) ;
73-
74- // Workaround for @tailwindcss /postcss plugin not working with symlinked node_modules:
75- // 1. Find the actual (real) path of the symlinked fumadocs-ui
76- // 2. Copy the entire directory to a non-symlinked location in the website deps
77- // 3. This ensures Tailwind can properly process the CSS in these files
78- const linkPath = path . join ( "apps" , "website" , "node_modules" , "fumadocs-ui" , "dist" ) ;
79- const realPath = await fs . realpath ( linkPath ) ;
80- const distPath = path . join ( "apps" , "website" , "deps" , "fumadocs-ui" ) ;
81- await fs . mkdir ( distPath , { recursive : true } ) ;
82- await fs . rm ( distPath , { force : true , recursive : true } ) ;
83- await fs . cp (
84- realPath ,
85- distPath ,
86- { dereference : true , recursive : true } , // dereference ensures we copy actual files, not symlinks
87- ) ;
88-
89- // Commented out: Generate tailwindcss source mapping configuration
90- // This would tell Tailwind which directories to scan for CSS classes
91- // const sourcePath = path.join("apps", "website", "app", "sources.css");
92- // const sourceCode = [
93- // `@source "../deps/fumadocs-ui/**/*.js";`,
94- // '@source ".";',
95- // '@source "../components";',
96- // '@source "../content";',
97- // ].join("\n");
98-
99- // await fs.writeFile(sourcePath, sourceCode);
0 commit comments