summaryrefslogtreecommitdiff
path: root/packages/astro-prism/src/index.ts
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-08-02 15:53:18 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-02 15:53:18 -0400
commit64432bcb873efd0e4297c00fc9583a1fe516dfe7 (patch)
tree898016f7ad3cc617688f085ab114adb284dbd078 /packages/astro-prism/src/index.ts
parent59aa8d4283403f584a805c15bc5455b6cf66887c (diff)
downloadastro-64432bcb873efd0e4297c00fc9583a1fe516dfe7.tar.gz
astro-64432bcb873efd0e4297c00fc9583a1fe516dfe7.tar.zst
astro-64432bcb873efd0e4297c00fc9583a1fe516dfe7.zip
Refactor @astrojs/prism, fix Prism component import not working (#4114)
* Upgrade @astrojs/prism to a real package, fix component import not working * Remove `@astrojs/prism` as a dependency of `astro` * Update lock file * Refactor to multiple files * Oops, can't have astro imports run inside node * Follow Nate's suggestion on being minors instead of patchs * Update lockfile
Diffstat (limited to 'packages/astro-prism/src/index.ts')
-rw-r--r--packages/astro-prism/src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/astro-prism/src/index.ts b/packages/astro-prism/src/index.ts
new file mode 100644
index 000000000..f1dc0d801
--- /dev/null
+++ b/packages/astro-prism/src/index.ts
@@ -0,0 +1,2 @@
+// @ts-expect-error
+export { default as Prism } from '../Prism.astro';