Skip to content

Commit 17e929f

Browse files
committed
docs: add forceEsbuild removal to migration guide - Document the breaking change for custom-esbuild users - Provide before/after examples for angular.json configuration - Explain that forceEsbuild is no longer needed since @angular/build uses esbuild by default
1 parent f886212 commit 17e929f

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

MIGRATION.MD

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,28 @@
22

33
## Custom ESBuild builder
44

5-
- No breaking changes (except for updating to Angular 20)
5+
1. The `forceEsbuild` property has been removed from the dev-server configuration. This property is no longer needed since the builder now uses `@angular/build` directly, which uses esbuild by default.
6+
7+
**Before:**
8+
```json
9+
"serve": {
10+
"builder": "@angular-builders/custom-esbuild:dev-server",
11+
"options": {
12+
"forceEsbuild": true,
13+
"port": 5006
14+
}
15+
}
16+
```
17+
18+
**After:**
19+
```json
20+
"serve": {
21+
"builder": "@angular-builders/custom-esbuild:dev-server",
22+
"options": {
23+
"port": 5006
24+
}
25+
}
26+
```
627

728
## Custom Webpack builder
829

0 commit comments

Comments
 (0)