chore: Pin dependencies and simplify Astro config
This commit is contained in:
parent
ee0f30ae69
commit
be84aba1dc
|
@ -3,28 +3,16 @@ import { defineConfig } from 'astro/config';
|
||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
import sitemap from '@astrojs/sitemap';
|
import sitemap from '@astrojs/sitemap';
|
||||||
import tailwind from '@astrojs/tailwind';
|
import tailwind from '@astrojs/tailwind';
|
||||||
// import cloudflare from '@astrojs/cloudflare'; // Commented out for local development
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://argobox.com', // Updated site URL for ArgoBox
|
site: 'https://argobox.com', // Keep original site URL
|
||||||
output: 'static',
|
output: 'static',
|
||||||
// adapter: cloudflare(), // Commented out for local development
|
// adapter: cloudflare(), // Still commented out
|
||||||
integrations: [
|
integrations: [
|
||||||
mdx(),
|
mdx(),
|
||||||
sitemap(),
|
sitemap(),
|
||||||
tailwind(),
|
tailwind(),
|
||||||
],
|
],
|
||||||
markdown: {
|
compressHTML: false // Disable HTML compression to avoid parsing errors
|
||||||
shikiConfig: {
|
|
||||||
theme: 'one-dark-pro',
|
|
||||||
wrap: true
|
|
||||||
},
|
|
||||||
remarkPlugins: [],
|
|
||||||
rehypePlugins: []
|
|
||||||
},
|
|
||||||
compressHTML: false, // Disable HTML compression to avoid parsing errors
|
|
||||||
build: {
|
|
||||||
format: 'file', // Use 'file' instead of 'directory' format
|
|
||||||
}
|
|
||||||
});
|
});
|
14
package.json
14
package.json
|
@ -9,15 +9,15 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/cloudflare": "latest",
|
"@astrojs/cloudflare": "^5.0.0",
|
||||||
"@astrojs/mdx": "latest",
|
"@astrojs/mdx": "^1.1.0",
|
||||||
"@astrojs/rss": "latest",
|
"@astrojs/rss": "^3.0.0",
|
||||||
"@astrojs/sitemap": "latest",
|
"@astrojs/sitemap": "^3.0.0",
|
||||||
"@astrojs/tailwind": "latest",
|
"@astrojs/tailwind": "^5.0.0",
|
||||||
"astro": "latest",
|
"astro": "^3.0.12",
|
||||||
"nodemailer": "^6.10.1",
|
"nodemailer": "^6.10.1",
|
||||||
"resend": "^4.4.1",
|
"resend": "^4.4.1",
|
||||||
"tailwindcss": "^3.0.24"
|
"tailwindcss": "^3.3.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.16"
|
"@tailwindcss/typography": "^0.5.16"
|
||||||
|
|
Loading…
Reference in New Issue