Skip to content

Commit 67a2464

Browse files
committed
chore: release 0.1.1
- case-insensitive check for routes named index - error messages name the actual condition: the build produces a server - README: link to the Angular CLI pull request and the blog post
1 parent 5abd86c commit 67a2464

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ The same route becomes `blog/my-article.html`, and hosts like Cloudflare Pages s
4141
- **Old links keep working:** addresses with a trailing slash redirect to the address without it (measured on Cloudflare Pages, see [Hosts](#hosts)).
4242

4343
This is the option proposed in [angular/angular-cli#29173](https://github.com/angular/angular-cli/issues/29173).
44+
The pull request [angular/angular-cli#34180](https://github.com/angular/angular-cli/pull/34180) adds it to Angular itself, with the same name and values.
4445
The builder is a stopgap: developed and tested for Angular 22, until Angular has a built-in option and this package is no longer needed.
46+
If you want the option in Angular, please give the issue and the pull request a 👍.
47+
48+
**Read more:** [Static Angular SSR: Nice URLs and good SEO - you can't have both (but here's a fix!)](https://angular.schule/blog/2026-09-static-angular-ssr-trailing-slash)
4549

4650
## ⚠️ Prerequisites <a name="prerequisites"></a>
4751

‎src/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-schule/prerender-format",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Angular application builder that writes prerendered routes as foo.html instead of foo/index.html (no trailing slash redirects)",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)