Skip to content

Commit a1098de

Browse files
authored
fix: Ensure to remove build directory (#282)
1 parent 1c9418a commit a1098de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class TypeScriptPlugin {
228228
// copy development dependencies during packaging
229229
if (isPackaging) {
230230
if (fs.existsSync(outModulesPath)) {
231-
fs.unlinkSync(outModulesPath)
231+
fs.removeSync(outModulesPath)
232232
}
233233

234234
fs.copySync(

0 commit comments

Comments
 (0)