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",
|
"homepage": "https://astro.build",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js",
|
".": "./dist/index.js"
|
||||||
"./ssr-utils": "./dist/ssr-utils.js"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "pnpm build",
|
"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