-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: move prism to
@astrojs/prism/components
(#2878)
* feat: add `<Prism/>` to @astrojs/prism/components * feat: remove `<Prism/>` from astro/components * refactor: point to index.mjs in import * refactor: change exp to @astrojs/prism/component * refactor: remove unecessary index.js * chore: changeset
- Loading branch information
1 parent
f5b48bc
commit 2db97f1
Showing
4 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'astro': patch | ||
'@astrojs/prism': patch | ||
--- | ||
|
||
Move the built-in `Prism` component from `astro/components` to `@astrojs/prism/component`. |
2 changes: 1 addition & 1 deletion
2
packages/astro/components/Prism.astro → packages/astro-prism/component/Prism.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export { default as Code } from './Code.astro'; | ||
export { default as Debug } from './Debug.astro'; | ||
export { default as Markdown } from './Markdown.astro'; | ||
export { default as Prism } from './Prism.astro'; |