Skip to content

Commit

Permalink
fix: fix no such file when copying .yarnclean
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwa committed Aug 8, 2022
1 parent 9643ca3 commit b3e88cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function build(opts: BuildOptions): Promise<BuilderOutput> {

// Write .yarnclean
if (isYarn && !fs.existsSync('../.yarnclean')) {
await fs.copyFile(path.join(__dirname, '../.yarnclean'), '.yarnclean');
await fs.copyFile(path.join(entrypointPath, '../.yarnclean'), '.yarnclean');
}

// Cache dir
Expand Down

0 comments on commit b3e88cd

Please sign in to comment.