Skip to content

Commit

Permalink
Removes .build/node_modules instead of unlinking it during packaging
Browse files Browse the repository at this point in the history
Fixes #170
  • Loading branch information
thiagohirata committed Jul 15, 2020
1 parent 424fe49 commit 6269405
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 @@ -192,7 +192,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 6269405

Please sign in to comment.