Skip to content

Commit 23f78ab

Browse files
[heft-node-rig] Add lib-dts and lib-esm to cleanFiles glob (#5438)
* Initial plan * Add lib-dts and lib-esm to cleanFiles in heft-node-rig Co-authored-by: dmichon-msft <[email protected]> * Add change file for heft-node-rig Co-authored-by: dmichon-msft <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: dmichon-msft <[email protected]>
1 parent 3f7b8f9 commit 23f78ab

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "Include lib-dts and lib-esm folders in default files to clean",
5+
"type": "patch",
6+
"packageName": "@rushstack/heft-node-rig"
7+
}
8+
],
9+
"packageName": "@rushstack/heft-node-rig",
10+
"email": "[email protected]"
11+
}

rigs/heft-node-rig/profiles/default/config/heft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
"phasesByName": {
2323
"build": {
24-
"cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs"] }],
24+
"cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs", "lib-dts", "lib-esm"] }],
2525

2626
"tasksByName": {
2727
"typescript": {

0 commit comments

Comments
 (0)