Skip to content

Commit

Permalink
feat: removed preact from project
Browse files Browse the repository at this point in the history
  • Loading branch information
bzavhorodskyi committed Oct 17, 2023
1 parent 5639bfe commit 7c76813
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 302 deletions.
3 changes: 0 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from "astro/config";
import preact from "@astrojs/preact";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import AutoImport from "astro-auto-import";
Expand Down Expand Up @@ -31,8 +30,6 @@ export default defineConfig({
"@components/Badge.astro",
],
}),
// Enable Preact to support Preact JSX components.
preact(),
// Enable React for the Algolia search component.
react({ experimentalReactChildren: true }),
expressiveCode({
Expand Down
224 changes: 0 additions & 224 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
"@adjust/components": "^14.3.0",
"@algolia/client-search": "^4.20.0",
"@astrojs/mdx": "^0.19.7",
"@astrojs/preact": "^2.2.2",
"@astrojs/react": "^2.3.2",
"@astrojs/sitemap": "^2.0.2",
"@astrojs/tailwind": "^4.0.0",
"@docsearch/css": "^3.5.2",
"@docsearch/react": "^3.5.2",
"@expressive-code/plugin-collapsible-sections": "^0.26.2",
"@nanostores/preact": "^0.5.0",
"@nanostores/react": "^0.7.1",
"astro": "^2.10.15",
"astro-auto-import": "^0.3.1",
Expand All @@ -30,7 +28,6 @@
"html-escaper": "^3.0.3",
"lodash": "^4.17.21",
"nanostores": "^0.9.3",
"preact": "^10.18.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype": "^13.0.1",
Expand Down
Loading

0 comments on commit 7c76813

Please sign in to comment.