feat(andreknie.de): upgrade js-yaml 4->5, fix ESM import in vite-plugin-content
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user