Skip to content

Commit

Permalink
fix: add the file name to the output path of the copy
Browse files Browse the repository at this point in the history
  • Loading branch information
KP2048 committed Feb 20, 2023
1 parent bdbc752 commit 1553077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function build(args: yargs.ArgumentsCamelCase<{ dev: boolean }>)

for (const entry of entries)
{
fs.copySync(path.join(process.cwd(), plugin.name, entry), path.join(process.cwd(), output, plugin.name), {
fs.copySync(path.join(process.cwd(), plugin.name, entry), path.join(process.cwd(), output, plugin.name, entry), {
recursive: true
})
}
Expand Down

0 comments on commit 1553077

Please sign in to comment.