diff --git a/astro.config.mjs b/astro.config.mjs
index 625d4ea..66d024b 100755
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -9,13 +9,11 @@ import {
} from './src/utils/GetConfig'
// Adapters
-import node from '@astrojs/node';
+import bun from 'astro-bun-adapter';
// Integrations
import keystatic from '@keystatic/astro';
import mdx from '@astrojs/mdx';
-import partytown from '@astrojs/partytown';
-import react from '@astrojs/react';
export default defineConfig({
// Information
@@ -24,7 +22,6 @@ export default defineConfig({
// Integrations
integrations: [
mdx(),
- partytown(),
vue(),
// Disable Keystatic in production
// https://keystatic.com/docs/recipes/astro-disable-admin-ui-in-production
@@ -33,9 +30,7 @@ export default defineConfig({
// Server Output
output: "hybrid",
prefetch: true,
- adapter: node({
- mode: 'standalone',
- }),
+ adapter: bun(),
server: {
port: 2014,
host: true
diff --git a/bun.lockb b/bun.lockb
deleted file mode 100755
index e3d08eb..0000000
Binary files a/bun.lockb and /dev/null differ
diff --git a/package.json b/package.json
index d25ef90..16764e8 100755
--- a/package.json
+++ b/package.json
@@ -32,11 +32,7 @@
"docker:push": "docker push ark.sudovanilla.org/korbs/butterlyvu:amd64"
},
"dependencies": {
- "@aptabase/react": "^0.3.4",
- "@aptabase/web": "^0.4.3",
"@astrojs/mdx": "^3.1.6",
- "@astrojs/node": "^8.3.3",
- "@astrojs/partytown": "^2.1.2",
"@astrojs/prism": "^3.1.0",
"@astrojs/vue": "^4.5.1",
"@keystatic/astro": "^5.0.0",
@@ -45,9 +41,9 @@
"astro": "4.15.7",
"astro-analytics": "^2.7.0",
"astro-breadcrumbs": "^3.1.0",
+ "astro-bun-adapter": "^1.0.2",
"astro-feelback": "^0.3.4",
"astro-seo": "^0.8.4",
- "dayjs": "^1.11.13",
"markdoc": "^0.1.3"
},
"devDependencies": {
diff --git a/src/components/global/Analytics.astro b/src/components/global/Analytics.astro
deleted file mode 100755
index 0abde30..0000000
--- a/src/components/global/Analytics.astro
+++ /dev/null
@@ -1,70 +0,0 @@
----
-// Environment Variables
-import {
- ANALYTICS,
- MATOMO_ID,
- MATOMO_SRC,
- PLAUSIBLE_DOMAIN,
- PLAUSIBLE_SRC,
- UMAMI_ID,
- UMAMI_SRC,
- AMPLITUDE_APIKEY,
- METRICAL_APP,
- FATHOM_SITE,
- FATHOM_SRC,
- MINIAML_ID,
- SWETRIX_SRC,
- SWETRIX_API,
- SWETRIX_PROJECT_ID,
- SIMPLEANALYTICS_DOMAIN
-} from '@utils/GetConfig'
-
-// Get Astro Analytics
-import {
- Fathom,
- Metrical,
- Plausible,
- SimpleAnalytics,
- Umami,
- Amplitude,
- Matomo,
- MinimalAnalytics
-} from 'astro-analytics'
----
-
-
-{
- ()=> {
- if (ANALYTICS === "None") {
- return null
- } else if (ANALYTICS === "Plausible") {
-