Skip to content

Commit a9d3e46

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

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)