I have a folder called Songs in the Public folder. During render time I would like to render them:
const renderSongs = () => {
[ array of song files ].map(song => {
...
})
}
tho I dont think I can use fs in next.js, so how would i do this?