diff --git a/src/get-assets.js b/src/get-assets.js index a969b8db..06e3f0a8 100644 --- a/src/get-assets.js +++ b/src/get-assets.js @@ -42,7 +42,7 @@ async function getFiles ( */ for (const folder of folders) { files.push( - ...(await getFiles(path.join(dir, folder.name), urlPrefix, true)) + ...(await getFiles(path.join(dir, folder.name), path.join(urlPrefix, folder.name), true)) ) }