Skip to content

Commit dbe3baa

Browse files
committed
docs: enforce deprecation policy - remove browserTarget from user docs
Remove browserTarget from precedence list in BREAKING CHANGE section. This enforces the established policy: "DO NOT promote deprecated options in examples or main sections." browserTarget still works for compatibility (handled in code) but should not be shown to users. Only contributors need to know about it (CLAUDE.md). Precedence list now shows only what users should actually use: 1. prerenderTarget (highest priority) 2. buildTarget 3. Default fallback
1 parent 60c9764 commit dbe3baa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ You can also use `prerenderTarget` instead of `buildTarget` for prerendered/SSG
8383
**Target Resolution Precedence:**
8484

8585
Build target options are resolved in this priority order:
86-
1. `prerenderTarget` (if specified) — highest priority, overrides all others
87-
2. `browserTarget` (deprecated, kept for compatibility)
88-
3. `buildTarget`
89-
4. Default: `${project}:build:production` if none specified
86+
1. `prerenderTarget` (if specified) — highest priority
87+
2. `buildTarget`
88+
3. Default: `${project}:build:production` if none specified
9089

9190
There is no support for `universalBuildTarget` or `serverTarget` because GitHub Pages only supports static assets and no Server-Side Rendering!
9291

0 commit comments

Comments
 (0)