diff options
author | 2021-04-13 18:08:32 -0600 | |
---|---|---|
committer | 2021-04-13 18:08:32 -0600 | |
commit | 3d0d53486caa1c6194aa0cdc0f3988824462bca4 (patch) | |
tree | ec5772a19483741ca5aeb454c722b9c9bc342e23 /src/compiler/codegen/content.ts | |
parent | 4a71de9e3d47af33f862cd25750b725a0f35e687 (diff) | |
download | astro-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.ts | 2 |
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>(); |