Skip to content

Commit 7f791e6

Browse files
authored
Update migration guide for Heft toolchain
1 parent 8b5577b commit 7f791e6

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

docs/spfx/toolchain/migrate-gulptoolchain-hefttoolchain.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,22 +116,17 @@ The project templates created for SPFx v1.22 include additional scripts to the *
116116
..
117117
"scripts": {
118118
..
119-
"test-only": "heft run --only test --",
120-
"deploy": "heft dev-deploy",
119+
"build": "heft test --clean --production && heft package-solution --production",
121120
"start": "heft start --clean",
122-
"build-watch": "heft build --lite",
123-
"package-solution": "heft package-solution",
124-
"deploy-azure-storage": "heft deploy-azure-storage",
125-
"eject-webpack": "heft eject-webpack",
126-
"trust-dev-cert": "heft trust-dev-cert",
127-
"untrust-dev-cert": "heft untrust-dev-cert"
121+
"clean": "heft clean",
122+
"eject-webpack": "heft eject-webpack"
128123
}
129124
..
130125
}
131126
```
132127

133128
> [!TIP]
134-
> While not required, consider installing the Heft CLI globally:
129+
> While not required, we recommend installing the Heft CLI globally:
135130
>
136131
> ```console
137132
> npm install @rushstack/heft --global

0 commit comments

Comments
 (0)