0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00

chore: remove ssr-utils export

This commit is contained in:
bholmesdev 2022-07-11 17:41:57 -04:00
parent 7d466d71d6
commit 8b9602383e
2 changed files with 1 additions and 10 deletions

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