feat(andreknie.de): upgrade js-yaml 4->5, fix ESM import in vite-plugin-content

This commit is contained in:
2026-07-10 12:28:28 +02:00
parent 9a1e38eb91
commit 76e4ba3dae
3 changed files with 7 additions and 7 deletions
@@ -2,7 +2,7 @@ import { readFileSync, readdirSync, existsSync } from 'fs'
import { join, resolve, extname, basename } from 'path'
import matter from 'gray-matter'
import { marked } from 'marked'
import yaml from 'js-yaml'
import * as yaml from 'js-yaml'
const CONTENT_DIR = resolve(process.cwd(), 'content')
const VIRTUAL_MODULE_ID = 'virtual:content'