Update dependencies and add Cloudflare adapter in configuration
This commit is contained in:
parent
5217bcb24c
commit
43f80a7b6e
@ -1,9 +1,12 @@
|
|||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
|
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
|
||||||
|
import cloudflare from "@astrojs/cloudflare";
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://popov.link",
|
site: "https://popov.link",
|
||||||
|
output: "hybrid",
|
||||||
|
adapter: cloudflare(),
|
||||||
integrations: [sitemap()],
|
integrations: [sitemap()],
|
||||||
markdown: {
|
markdown: {
|
||||||
remarkPlugins: [remarkReadingTime],
|
remarkPlugins: [remarkReadingTime],
|
||||||
|
2408
package-lock.json
generated
2408
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,9 +13,10 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.9.3",
|
"@astrojs/check": "^0.9.3",
|
||||||
|
"@astrojs/cloudflare": "^11.0.4",
|
||||||
"@astrojs/rss": "^4.0.7",
|
"@astrojs/rss": "^4.0.7",
|
||||||
"@astrojs/sitemap": "^3.1.6",
|
"@astrojs/sitemap": "^3.1.6",
|
||||||
"astro": "^4.15.4",
|
"astro": "^4.15.6",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"cssnano": "^7.0.6",
|
"cssnano": "^7.0.6",
|
||||||
"cssnano-preset-advanced": "^7.0.6",
|
"cssnano-preset-advanced": "^7.0.6",
|
||||||
|
Loading…
Reference in New Issue
Block a user