fix(docs): use named import for globby v13 (#6639)

This commit is contained in:
Rizel Scarlett
2026-01-22 12:34:02 -05:00
committed by GitHub
parent 131c44f1e2
commit 39fee21cbe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = function markdownExportPlugin(context, options) {
console.log('[markdown-export] Starting markdown export...');
const globby = (await import('globby')).default;
const { globby } = await import('globby');
const docsDir = path.join(context.siteDir, 'docs');
const outputDir = path.join(outDir, 'docs');
+1 -1
View File
@@ -41,7 +41,7 @@ function getHeadings(content) {
}
async function main() {
const globby = (await import('globby')).default;
const { globby } = await import('globby');
const sections = [
{ name: 'Getting Started', pattern: 'getting-started/*.{md,mdx}' },