Skip to content

Commit 578fa57

Browse files
committed
Remove react.
1 parent d16686b commit 578fa57

File tree

5 files changed

+2
-372
lines changed

5 files changed

+2
-372
lines changed

astro.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import path from "path";
22
import { defineConfig } from "astro/config";
33
import mdx from "@astrojs/mdx";
44
import sitemap from "@astrojs/sitemap";
5-
import react from "@astrojs/react";
65
import tailwind from "@astrojs/tailwind";
76
import remarkToc from "remark-toc";
87
import rehypeSlug from "rehype-slug";
@@ -48,6 +47,7 @@ export default defineConfig({
4847
"@layouts": path.resolve("./src/layouts"),
4948
"@ui": path.resolve("./src/components/ui"),
5049
"@assets": path.resolve("./src/assets"),
50+
"@styles": path.resolve("./src/styles"),
5151
"@i18n": path.resolve("./src/i18n"),
5252
"@src": path.resolve("./src"),
5353
},
@@ -81,7 +81,6 @@ export default defineConfig({
8181
preload(),
8282
mdx(),
8383
sitemap(),
84-
react(),
8584
tailwind({
8685
nesting: true,
8786
}),

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
"@astro-community/astro-embed-youtube": "^0.5.6",
1515
"@astrojs/check": "^0.9.4",
1616
"@astrojs/mdx": "^4.2.6",
17-
"@astrojs/react": "^4.2.7",
1817
"@astrojs/sitemap": "^3.3.1",
1918
"@astrojs/tailwind": "^5.1.5",
2019
"@fontsource-variable/inter": "^5.2.5",
2120
"@fortawesome/fontawesome-free": "^6.7.2",
2221
"@tailwindcss/typography": "^0.5.16",
23-
"@types/react": "^19.1.2",
24-
"@types/react-dom": "^19.1.3",
2522
"astro": "^5.7.5",
2623
"astro-delete-unused-images": "^1.0.3",
2724
"astro-meta-tags": "^0.3.1",
@@ -34,8 +31,6 @@
3431
"js-yaml": "^4.1.0",
3532
"marked": "^15.0.11",
3633
"pagefind": "^1.3.0",
37-
"react": "^19.1.0",
38-
"react-dom": "^19.1.0",
3934
"rehype-autolink-headings": "^7.1.0",
4035
"rehype-slug": "^6.0.0",
4136
"remark-toc": "^9.0.0",

0 commit comments

Comments
 (0)