docs: support generating sidebar items with tags (#10672)

* docs: support generating sidebar items with tags

* small fix

* fix dependencies

* test

* test fix

* test fix

* test fix

* test fix

* another fix

* revert change

* fix for resources
This commit is contained in:
Shahed Nasser
2024-12-19 18:24:36 +02:00
committed by GitHub
parent 1118e35924
commit 65007c49f6
19 changed files with 119 additions and 54 deletions
+6 -10
View File
@@ -126,16 +126,12 @@ const nextConfig = {
},
]
},
// Redirects shouldn't be necessary anymore since we have remark / rehype
// plugins that fix links. But leaving this here in case we need it again.
// async redirects() {
// // redirect original file paths to the rewrite
// return slugChanges.map((item) => ({
// source: item.origSlug,
// destination: item.newSlug,
// permanent: true,
// }))
// },
experimental: {
outputFileTracingExcludes: {
"*": ["node_modules/@medusajs/icons"],
},
},
optimizePackageImports: ["@medusajs/icons", "@medusajs/ui"],
}
const withBundleAnalyzer = bundleAnalyzer({