mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
chore(website): add debug logs
This commit is contained in:
parent
3e3b48b2a5
commit
35d86d0343
1 changed files with 3 additions and 0 deletions
|
@ -41,7 +41,9 @@ export const load: PageLoad = async ({ parent, fetch }) => {
|
|||
const { pkg } = await parent()
|
||||
const { name, version, targets } = pkg
|
||||
|
||||
console.log("fetching readme")
|
||||
const readmeText = await fetchReadme(fetch, name, version, targets[0].kind)
|
||||
console.log(readmeText)
|
||||
|
||||
const file = await unified()
|
||||
.use(remarkParse)
|
||||
|
@ -63,6 +65,7 @@ export const load: PageLoad = async ({ parent, fetch }) => {
|
|||
.process(readmeText)
|
||||
|
||||
const readmeHtml = file.value
|
||||
console.log(readmeHtml)
|
||||
|
||||
return {
|
||||
readmeHtml,
|
||||
|
|
Loading…
Add table
Reference in a new issue