Skip to content

Commit 7ca9b52

Browse files
fix: use bun package manager, add analytics env guard
- Remove pnpm-lock.yaml (project uses bun, not pnpm) - Remove highlight.js explicit dep (transitive via rehype-highlight) - Guard <Analytics /> to production env only - Keep unified (directly imported in lib/markdown-plugins.ts) Note: bun.lock needs regeneration locally with `bun install` Co-authored-by: hanwool kim <toy-crane@users.noreply.github.com>
1 parent 3b9c3e1 commit 7ca9b52

3 files changed

Lines changed: 1 addition & 10169 deletions

File tree

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function RootLayout({
3737
{children}
3838
</ThemeProvider>
3939
{process.env.NODE_ENV === "development" && <Agentation />}
40-
<Analytics />
40+
{process.env.NODE_ENV === "production" && <Analytics />}
4141
</body>
4242
</html>
4343
);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"class-variance-authority": "^0.7.1",
1919
"clsx": "^2.1.1",
2020
"defuddle": "^0.15.0",
21-
"highlight.js": "^11.11.1",
2221
"linkedom": "^0.18.12",
2322
"lucide-react": "^0.576.0",
2423
"motion": "^12.38.0",

0 commit comments

Comments
 (0)