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:
parent
7d466d71d6
commit
8b9602383e
2 changed files with 1 additions and 10 deletions
|
@ -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…
Add table
Reference in a new issue