Skip to content

Commit

Permalink
fix: Ensure to remove build directory (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
douwe-rm authored Oct 5, 2022
1 parent 1c9418a commit a1098de
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 @@ -228,7 +228,7 @@ export class TypeScriptPlugin {
// copy development dependencies during packaging
if (isPackaging) {
if (fs.existsSync(outModulesPath)) {
fs.unlinkSync(outModulesPath)
fs.removeSync(outModulesPath)
}

fs.copySync(
Expand Down

0 comments on commit a1098de

Please sign in to comment.