forked from DBozhinovski/wp-as-an-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
31 lines (29 loc) · 902 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// https://astro.build/config
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import { remarkReadingTime } from "./src/utils/all";
import node from "@astrojs/node";
// https://astro.build/config
import solidJs from "@astrojs/solid-js";
// https://astro.build/config
export default defineConfig({
// output: 'server',
site: "https://stablo-astro.web3templates.com",
experimental: {
contentCollections: true
},
markdown: {
remarkPlugins: [remarkReadingTime],
rehypePlugins: ["rehype-plugin-image-native-lazy-loading"],
extendDefaultPlugins: true
},
integrations: [tailwind(), image({
serviceEntryPoint: "@astrojs/image/sharp"
}), mdx(), sitemap(), solidJs()]
// adapter: node({
// mode: 'standalone',
// }),
});