feat: upgrade to 11ty 3.0.0@alpha

This commit is contained in:
Cory Dransfeldt 2023-12-21 13:31:57 -08:00
parent 2cd8e4a380
commit e16633653a
No known key found for this signature in database
43 changed files with 578 additions and 5039 deletions

View file

@ -1,8 +1,9 @@
const jsdom = require('jsdom')
const { AssetCache } = require('@11ty/eleventy-fetch')
import jsdom from 'jsdom'
import { AssetCache } from '@11ty/eleventy-fetch'
const { JSDOM } = jsdom
module.exports = async function () {
export default async function () {
const COOKIE = process.env.COOKIE_STORYGRAPH
const url = 'https://app.thestorygraph.com/currently-reading/coryd'
const asset = new AssetCache('books_data')