0
Fork 0
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:
Fred K. Schott 2022-07-18 09:12:45 -07:00 committed by GitHub
parent 8eba6d9d97
commit 07fb544dab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 10 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/markdown-remark': minor
---
Remove unused ssr-utils file

View 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",

View file

@ -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);
}