Skip to content

Commit 73d66fb

Browse files
authored
Merge branch 'main' into recommended-presets-for-each-plugin
2 parents 10b24b0 + 74a6eac commit 73d66fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

apps/website/app/base.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
@import "fumadocs-ui/css/neutral.css";
33
@import "fumadocs-ui/css/preset.css";
44

5+
@source "../components/fumadocs-ui/**/*.js";
6+
57
@source ".";
68
@source "../components";
79
@source "../content";
8-
@source "../components/fumadocs-ui/dist/**/*.js";

scripts/update-website.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ const changelogWithFrontmatter = [
4242
await fs.writeFile(path.join("apps", "website", "content", "changelog.md"), changelogWithFrontmatter);
4343

4444
// workaround for @tailwindcss/postcss plugin not working with symlinked node_modules
45-
const linkPath = path.join("apps", "website", "node_modules", "fumadocs-ui");
45+
const linkPath = path.join("apps", "website", "node_modules", "fumadocs-ui", "dist");
4646
const realPath = await fs.realpath(linkPath);
4747
const distPath = path.join("apps", "website", "components", "fumadocs-ui");
48+
await fs.rm(distPath, { force: true, recursive: true });
4849
await fs.cp(
4950
realPath,
5051
distPath,
@@ -57,7 +58,7 @@ await fs.cp(
5758
// '@source ".";',
5859
// '@source "../components";',
5960
// '@source "../content";',
60-
// `@source "../components/fumadocs-ui/dist/**/*.js";`,
61+
// `@source "../components/fumadocs-ui/**/*.js";`,
6162
// ].join("\n");
6263

6364
// await fs.writeFile(sourcePath, sourceCode);

0 commit comments

Comments
 (0)