Skip to content

Commit 6269405

Browse files
committed
Removes .build/node_modules instead of unlinking it during packaging
Fixes #170
1 parent 424fe49 commit 6269405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class TypeScriptPlugin {
192192
// copy development dependencies during packaging
193193
if (isPackaging) {
194194
if (fs.existsSync(outModulesPath)) {
195-
fs.unlinkSync(outModulesPath)
195+
fs.removeSync(outModulesPath)
196196
}
197197

198198
fs.copySync(

0 commit comments

Comments
 (0)