summaryrefslogtreecommitdiff
path: root/packages/astro/src/content/index.ts
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-04-11 13:44:39 -0400
committerGravatar GitHub <noreply@github.com> 2023-04-11 13:44:39 -0400
commitf882bc1636d5ce1c3b8faae47df36b4dc758045a (patch)
treed3c8166da1b01fd623026f4b87c356ed20c79de7 /packages/astro/src/content/index.ts
parentb1d07bcf404b0e55e5ae70eb0e33165827370333 (diff)
downloadastro-f882bc1636d5ce1c3b8faae47df36b4dc758045a.tar.gz
astro-f882bc1636d5ce1c3b8faae47df36b4dc758045a.tar.zst
astro-f882bc1636d5ce1c3b8faae47df36b4dc758045a.zip
Refactor content collection transforms (#6817)
* feat: json collection POC * wip: add test json file * refactor: rework content flag transforms * refactor: simplify propagatedAsset check * chore: remove JSON playground code * chore: respect build sourcemap option * deps: magic-string, source-map * chore: formatting * fix: add sourcemaps to MDX plugin * chore: changeset * deps: remove magic-string from mdx * chore: remove unecessary MagicString
Diffstat (limited to 'packages/astro/src/content/index.ts')
-rw-r--r--packages/astro/src/content/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/astro/src/content/index.ts b/packages/astro/src/content/index.ts
index 9928bb6a7..69bdb2708 100644
--- a/packages/astro/src/content/index.ts
+++ b/packages/astro/src/content/index.ts
@@ -5,3 +5,4 @@ export { contentObservable, getContentPaths, getDotAstroTypeReference } from './
export { astroContentAssetPropagationPlugin } from './vite-plugin-content-assets.js';
export { astroContentImportPlugin } from './vite-plugin-content-imports.js';
export { astroContentVirtualModPlugin } from './vite-plugin-content-virtual-mod.js';
+export { CONTENT_FLAG, PROPAGATED_ASSET_FLAG } from './consts.js';