Updated rss.mjs
All checks were successful
Build and Deploy docker container / build (push) Successful in 2m47s

This commit is contained in:
2024-11-04 23:00:40 -06:00
parent ee6e9789bb
commit b10348b15a
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@ import path from 'path'
import { slug } from 'github-slugger'
import { escape } from 'pliny/utils/htmlEscaper.js'
import siteMetadata from '../data/siteMetadata.js'
import tagData from '../app/tag-data.json' assert { type: 'json' }
// Do not accept changes from upstream, you need with instead of assert. See https://stackoverflow.com/questions/78876691/syntaxerror-unexpected-identifier-assert-on-json-import-in-node-v22
import tagData from '../app/tag-data.json' with { type: 'json' }
import { allBlogs } from '../.contentlayer/generated/index.mjs'
import { sortPosts } from 'pliny/utils/contentlayer.js'