diff --git a/lib/publish.js b/lib/publish.js index 5179c3d..bd1cbc9 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -141,7 +141,7 @@ export async function prepareParcelWatcherPrebuildsPackages() { force: true, recursive: true, }); - await rename(dir, hackoladeScopedPkgPath); + await cp(dir, hackoladeScopedPkgPath, {recursive: true, force: true}); // Tweak package.json to remove useless information const pkgRaw = await readFile(