chore: debug

This commit is contained in:
Cory Dransfeldt 2024-04-03 20:00:28 -07:00
parent 6a7cdf4460
commit 3d76d8ae86
No known key found for this signature in database

View file

@ -13,8 +13,8 @@ export const onPreBuild = async ({ constants }) => {
const artistsMap = await artists.get('artists-map', { type: 'json' })
const albumsMap = await albums.get('albums-map', { type: 'json' })
const nowPlaying = await scrobbles.get('now-playing', { type: 'json'})
fs.writeFileSync('./src/_data/json/scrobbles-window.json', JSON.stringify(windowData))
fs.writeFileSync('./src/_data/json/artists-map.json', JSON.stringify(artistsMap))
fs.writeFileSync('./src/_data/json/albums-map.json', JSON.stringify(artistsMap))
fs.writeFileSync('./src/_data/json/now-playing.json', JSON.stringify(artistsMap))
fs.writeFileSync('src/_data/json/scrobbles-window.json', JSON.stringify(windowData))
fs.writeFileSync('src/_data/json/artists-map.json', JSON.stringify(artistsMap))
fs.writeFileSync('src/_data/json/albums-map.json', JSON.stringify(albumsMap))
fs.writeFileSync('src/_data/json/now-playing.json', JSON.stringify(nowPlaying))
}