From 626940588aa6428d50b9f5516ce6ee2c13e9dfcf Mon Sep 17 00:00:00 2001 From: Thiago Hirata Date: Tue, 14 Jul 2020 22:32:53 -0300 Subject: [PATCH] Removes .build/node_modules instead of unlinking it during packaging Fixes #170 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a249ce58..09ff2f08 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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(