Skip to content

Commit

Permalink
[FECORE-531] updated packages and Astro config (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzavhorodskyi authored Jan 16, 2025
1 parent 55a9530 commit 4b2e84c
Show file tree
Hide file tree
Showing 3 changed files with 866 additions and 1,128 deletions.
48 changes: 26 additions & 22 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ console.log(
);

const versions = await fetchVersions();
const versionJSON = JSON.stringify(versions, null, 2)
await writeFile("src/versionMap.json", versionJSON, (err) => { });
const versionJSON = JSON.stringify(versions, null, 2);
await writeFile("src/versionMap.json", versionJSON, (err) => {});

const locales = ["en", "ja", "ko", "zh"];

Expand Down Expand Up @@ -58,28 +58,32 @@ export default defineConfig({
fallback: {
ja: "en",
ko: "en",
zh: "en"
zh: "en",
},
},
experimental: {
contentCollectionCache: true
},
integrations: [AutoImport({
imports: [
"@components/Accordion.astro",
"@components/Callout.astro",
"@components/CodeBlock.astro",
"@components/ListColumns.astro",
"@components/MinorVersion.astro",
"@components/Tab.astro",
"@components/Tabs.astro",
],
}), // Enable React for the Algolia search component.
react({
experimentalReactChildren: true,
}), expressiveCode(), mdx({
optimize: true,
}), tailwind(), sitemap(), markdoc()],
integrations: [
AutoImport({
imports: [
"@components/Accordion.astro",
"@components/Callout.astro",
"@components/CodeBlock.astro",
"@components/ListColumns.astro",
"@components/MinorVersion.astro",
"@components/Tab.astro",
"@components/Tabs.astro",
],
}), // Enable React for the Algolia search component.
react({
experimentalReactChildren: true,
}),
expressiveCode(),
mdx({
optimize: true,
}),
tailwind(),
sitemap(),
markdoc(),
],
site: "https://dev.adjust.com/",
markdown: {
remarkPlugins: [
Expand Down
Loading

0 comments on commit 4b2e84c

Please sign in to comment.