Skip to content

Commit

Permalink
[#877] improvement(web): optimize clean task of build.gradle.kts for …
Browse files Browse the repository at this point in the history
…web to delete node_modules folder (#1173)

### What changes were proposed in this pull request?

Optimize clean task of `build.gradle.kts` for web to delete
`node_modules` folder which reduces space after gradle clean.

### Why are the changes needed?

The `node_modules` folder contains libraries downloaded from npm that
takes up a lot of space.

Fix: #877

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Test with gradle clean.
  • Loading branch information
SteNicholas authored Dec 18, 2023
1 parent f10142e commit f3e1bae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ tasks {
}

clean {
delete(".node")
delete("build")
delete("dist")
delete("node_modules")
delete("yarn-error.log")
}
}

0 comments on commit f3e1bae

Please sign in to comment.