mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
remove ssr-utils file (#3924)
This commit is contained in:
parent
8eba6d9d97
commit
07fb544dab
3 changed files with 6 additions and 10 deletions
5
.changeset/rude-kangaroos-dance.md
Normal file
5
.changeset/rude-kangaroos-dance.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/markdown-remark': minor
|
||||
---
|
||||
|
||||
Remove unused ssr-utils file
|
|
@ -13,8 +13,7 @@
|
|||
"homepage": "https://astro.build",
|
||||
"main": "./dist/index.js",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./ssr-utils": "./dist/ssr-utils.js"
|
||||
".": "./dist/index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "pnpm build",
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
/** Utilities used in deployment-ready SSR bundles */
|
||||
import Slugger from 'github-slugger';
|
||||
|
||||
const slugger = new Slugger();
|
||||
/** @see {@link "/packages/astro/vite-plugin-markdown"} */
|
||||
export function slug(value: string): string {
|
||||
return slugger.slug(value);
|
||||
}
|
Loading…
Reference in a new issue