summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/content.ts
diff options
context:
space:
mode:
authorGravatar Drew Powers <1369770+drwpow@users.noreply.github.com> 2021-04-13 18:08:32 -0600
committerGravatar GitHub <noreply@github.com> 2021-04-13 18:08:32 -0600
commit3d0d53486caa1c6194aa0cdc0f3988824462bca4 (patch)
treeec5772a19483741ca5aeb454c722b9c9bc342e23 /src/compiler/codegen/content.ts
parent4a71de9e3d47af33f862cd25750b725a0f35e687 (diff)
downloadastro-3d0d53486caa1c6194aa0cdc0f3988824462bca4.tar.gz
astro-3d0d53486caa1c6194aa0cdc0f3988824462bca4.tar.zst
astro-3d0d53486caa1c6194aa0cdc0f3988824462bca4.zip
Add Astro.fetchContent API (#91)
Diffstat (limited to 'src/compiler/codegen/content.ts')
-rw-r--r--src/compiler/codegen/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/content.ts b/src/compiler/codegen/content.ts
index 14542d533..e6377eec0 100644
--- a/src/compiler/codegen/content.ts
+++ b/src/compiler/codegen/content.ts
@@ -52,7 +52,7 @@ function globSearch(spec: string, { filename }: { filename: string }): string[]
}
}
-/** import.meta.fetchContent() */
+/** Astro.fetchContent() */
export function fetchContent(spec: string, { namespace, filename }: GlobOptions): GlobResult {
let code = '';
const imports = new Set<string>();