<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>vite-plugin-ngp changelog</title>
  <subtitle>What changed in vite-plugin-ngp, newest first.</subtitle>
  <id>https://push-based.github.io/vite-plugin-ngp/changelog/</id>
  <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/"/>
  <link rel="self" type="application/atom+xml" href="https://push-based.github.io/vite-plugin-ngp/changelog.xml"/>
  <updated>2026-12-04T00:00:00.000Z</updated>
  <author><name>PushBased</name><uri>https://push-based.io/</uri></author>
  <entry>
    <title>4 December 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#4-december-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#4-december-2026"/>
    <updated>2026-12-04T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;fixes&quot;&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Editing the template of a component outside Vite&amp;#39;s root, like a library&amp;#39;s in &lt;code&gt;libs/&lt;/code&gt; next to the app in &lt;code&gt;apps/web&lt;/code&gt;, now updates the page in place. Before, the edit did nothing: Vite only watches its root, and the plugin never told it about the template. A &lt;code&gt;server.watcher.add()&lt;/code&gt; you added for this can go. Under &lt;code&gt;vitest&lt;/code&gt; in watch mode, the same edit reruns the component&amp;#39;s specs. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;An app whose &lt;code&gt;package.json&lt;/code&gt; sits above Vite&amp;#39;s root, like &lt;code&gt;apps/web&lt;/code&gt; in a monorepo with one &lt;code&gt;package.json&lt;/code&gt; at the top, now gets &lt;code&gt;@angular/ssr&lt;/code&gt;&amp;#39;s rendering and prerendering, and has its Angular libraries bundled and linked on the server and under Vitest. Before, the plugin read only a &lt;code&gt;package.json&lt;/code&gt; in the root itself, found none, and fell back to the &lt;code&gt;render&lt;/code&gt; contract with no libraries. It now takes the nearest one, as Node does. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#with-angular-ssr&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;new-apps&quot;&gt;New apps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;create-ngp --monorepo&lt;/code&gt; puts the app, &lt;code&gt;app&lt;/code&gt; or &lt;code&gt;app-ssr&lt;/code&gt;, in &lt;code&gt;apps/web&lt;/code&gt; of a monorepo, next to a library in &lt;code&gt;libs/ui&lt;/code&gt; that the app imports by a path alias and compiles from source. One &lt;code&gt;package.json&lt;/code&gt; at the top holds every dependency, &lt;code&gt;npm test&lt;/code&gt; runs every project&amp;#39;s specs, and &lt;code&gt;ngp-generate library &amp;lt;name&amp;gt;&lt;/code&gt; adds more libraries. The scaffolder asks for the layout, or takes the flag. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/creating-an-app/#the-monorepo-layout&quot;&gt;Creating an app&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;generating-code&quot;&gt;Generating code&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ngp-generate&lt;/code&gt; writes a component, service, directive, pipe, guard, interceptor or resolver into your app, as &lt;code&gt;ng generate&lt;/code&gt; does: &lt;code&gt;npx ngp-generate c user-card&lt;/code&gt;. File names and code follow the Angular CLI&amp;#39;s own schematics, with specs for Vitest. It needs no &lt;code&gt;angular.json&lt;/code&gt;, and comes with the plugin, so you don&amp;#39;t install anything else. Vite has no generators of its own, and Vite+&amp;#39;s only write new packages into a monorepo. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ngp-generate c orders --route orders&lt;/code&gt; adds a lazy route to the new component in &lt;code&gt;app.routes.ts&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/#routes&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;In a library, &lt;code&gt;ngp-generate&lt;/code&gt; adds what it writes to the library&amp;#39;s &lt;code&gt;src/index.ts&lt;/code&gt;, so an app can import it at once. &lt;code&gt;--no-export&lt;/code&gt; skips that. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/#libraries&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ngp-generate application admin&lt;/code&gt; adds a second app to a monorepo, in &lt;code&gt;apps/admin&lt;/code&gt;, with &lt;code&gt;dev:admin&lt;/code&gt;, &lt;code&gt;build:admin&lt;/code&gt; and &lt;code&gt;preview:admin&lt;/code&gt; scripts. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/#applications&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ngp-generate library cart&lt;/code&gt; adds a library to a monorepo from &lt;code&gt;create-ngp --monorepo&lt;/code&gt;: &lt;code&gt;libs/cart&lt;/code&gt;, with a component, a spec and an index, and &lt;code&gt;@&amp;lt;scope&amp;gt;/cart&lt;/code&gt; mapped in &lt;code&gt;tsconfig.base.json&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/#libraries&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;type-checking&quot;&gt;Type-checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;With pnpm 11 and later, including the pnpm 12 that Vite+ installs with, installing the plugin no longer warns about an unmet &lt;code&gt;typescript&lt;/code&gt; peer. The plugin used to depend on TypeScript 7 under an alias, and pnpm counted that as the plugin&amp;#39;s TypeScript. Now it installs only TypeScript 7&amp;#39;s binary for your platform, from &lt;code&gt;@typescript/typescript-&amp;lt;platform&amp;gt;-&amp;lt;arch&amp;gt;&lt;/code&gt;, and runs it without starting Node first, which made each check start about 40 ms sooner on a MacBook. An install without optional dependencies gets one type-check error naming the missing package. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#where-its-weak&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;vite&quot;&gt;Vite+&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Specs run under &lt;code&gt;vp test&lt;/code&gt; on jsdom and in Chromium through Vitest&amp;#39;s browser mode, not only in Node on the server platform. Two things change from plain Vitest: the setup file imports from &lt;code&gt;vite-plus/test&lt;/code&gt;, and the Playwright provider from &lt;code&gt;vite-plus/test/browser-playwright&lt;/code&gt;, at the Vitest version Vite+ bundles. &lt;code&gt;vp migrate&lt;/code&gt; makes both changes on an app that had the setups. CI now runs the &lt;code&gt;app&lt;/code&gt; template&amp;#39;s spec both ways after &lt;code&gt;vp migrate&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/#specs-on-jsdom-and-in-a-browser&quot;&gt;Using Vite+&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;One app in a new Nx 24.1 workspace runs under Vite+: &lt;code&gt;vp build&lt;/code&gt;, &lt;code&gt;vp test&lt;/code&gt; and &lt;code&gt;vp dev&lt;/code&gt;, and &lt;code&gt;nx build&lt;/code&gt;, &lt;code&gt;nx test&lt;/code&gt; and &lt;code&gt;nx dev&lt;/code&gt;. &lt;code&gt;nx serve&lt;/code&gt; fails with &lt;code&gt;vite: command not found&lt;/code&gt; until the app gets a &lt;code&gt;serve&lt;/code&gt; script. The Vite+ page no longer lists &lt;code&gt;vp pack&lt;/code&gt; as untried: it builds libraries, which the plugin doesn&amp;#39;t, with or without Vite+. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/#in-an-nx-workspace&quot;&gt;Using Vite+&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;windows&quot;&gt;Windows&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;On Windows the plugin no longer tells you to set &lt;code&gt;engine: &amp;#39;wasm&amp;#39;&lt;/code&gt; when it finds no native engine. CI now runs the plugin on Windows with the wasm engine, and &lt;code&gt;vite build&lt;/code&gt; fails there before compiling anything, so the message says to run under WSL 2 instead. Windows itself doesn&amp;#39;t work yet; the page says what fails and what would fix it. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#what-doesnt-work-yet&quot;&gt;Status and limits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs&quot;&gt;Docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new Tutorial walks you through the plugin on a fresh app: a template edit that keeps the page&amp;#39;s state, a class edit that reloads, a planted type error in the terminal and the overlay, then the spec and the build, with what you should see after each step. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/tutorial/&quot;&gt;Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The Comparison page gave the plugin&amp;#39;s version as 0.2.0. It now says 0.4.4 and the whole range it accepts, Angular &lt;code&gt;22.3.0-rc.0&lt;/code&gt; up to, not including, &lt;code&gt;22.4.0&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/comparison/#maturity-and-installing-it&quot;&gt;Compared with alternatives&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Getting started installs with npm and now runs with &lt;code&gt;npx vite&lt;/code&gt; to match, where it said &lt;code&gt;pnpm vite&lt;/code&gt;. Its &lt;code&gt;index.html&lt;/code&gt; links your global stylesheet, so a moved app keeps its global styles. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/#3-point-vite-at-your-app&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The Performance page now says up front that its figures are from 17 October 2026 and predate the oxc linker and the ngp built from 22.3.2, and points to the newer run on real apps. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Every option on the Configuration page, &lt;code&gt;cache.dir&lt;/code&gt;, &lt;code&gt;ssr.allowedHosts&lt;/code&gt; and the other nested ones included, now has its own heading: its type, its default, what it does, when to change it, and an example where one helps. The table of contents and a link can now land on one option, and the table at the top links each name to its section. The &lt;code&gt;entries&lt;/code&gt; default now names the &lt;code&gt;@angular/ssr&lt;/code&gt; server, &lt;code&gt;src/server.ts&lt;/code&gt;, which the plugin has always added and the page left out. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#options&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Migrating from ng build now covers what an app needs beyond its build options. &lt;code&gt;ng serve&lt;/code&gt;&amp;#39;s options each have their Vite setting, from &lt;code&gt;proxyConfig&lt;/code&gt; to &lt;code&gt;liveReload&lt;/code&gt;, with what changes in a proxy file. The scripts in &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;src/index.html&lt;/code&gt; and the &lt;code&gt;test&lt;/code&gt; target each say what they become. A new section has the per-file fixes the Benchmarks apps needed, each with what you see, why and the fix: type-only re-exports, decorator metadata, TypeScript transformers, TypeScript 7&amp;#39;s stricter checks and template errors ngc doesn&amp;#39;t report. The page also says what to read in which order, and Getting started&amp;#39;s next steps start with it. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/migrating-from-ng-build/#what-your-sources-may-need&quot;&gt;Migrating from ng build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The Nx page sets &lt;code&gt;resolve: {tsconfigPaths: true}&lt;/code&gt; instead of a function that turns &lt;code&gt;tsconfig.base.json&lt;/code&gt;&amp;#39;s &lt;code&gt;paths&lt;/code&gt; into aliases. Run on Ghostfolio with the root at &lt;code&gt;apps/client&lt;/code&gt;, it built the same files byte for byte. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/nx/#tsconfig-paths-resolve-through-vite&quot;&gt;Nx workspaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A new Troubleshooting page explains the plugin&amp;#39;s errors and warnings, and the Angular, Rolldown, TypeScript and Yarn messages you meet because of it, each under a heading you can search for, with what to do. The page ends with how to make a minimal reproduction and file a bug. Configuration&amp;#39;s table of startup errors moved there. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/troubleshooting/&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A new Troubleshooting page explains the plugin&amp;#39;s errors and warnings, and the Angular, Rolldown, TypeScript and Yarn messages you meet because of it, each under a heading you can search for, with what to do. The page ends with how to make a minimal reproduction and file a bug. Configuration&amp;#39;s table of startup errors moved there. The plugin&amp;#39;s messages that have an entry now end with a link to it. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/troubleshooting/&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page no longer opens with &amp;quot;a prototype on a prototype&amp;quot; or tells you not to ship with it. It keeps the two facts that still hold: the plugin accepts Angular 22.3 only, and carries its own ngp build made from Angular&amp;#39;s source. The Comparison page no longer says the plugin works with one Angular prerelease or that you build ngp yourself. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/&quot;&gt;Status and limits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page&amp;#39;s Setup section said to point the plugin at your ngp build. The package carries its own, so it now says what you do: install the package, add &lt;code&gt;ngp()&lt;/code&gt;, put &lt;code&gt;index.html&lt;/code&gt; in the project root, keep &lt;code&gt;main.ts&lt;/code&gt;, and run &lt;code&gt;npx vite&lt;/code&gt;. The snippet beside it starts with the install command. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page&amp;#39;s What works section has two more cards: Generating code, for &lt;code&gt;ngp-generate&lt;/code&gt;, and A monorepo, for &lt;code&gt;create-ngp --monorepo&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/generating-code/&quot;&gt;Generating code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page has a What works section: a card for each of type-checking, component styles, Vitest, server rendering, i18n, Nx, Vite+ and migrating from &lt;code&gt;ng build&lt;/code&gt;, each linking its page, and a link to what doesn&amp;#39;t work yet. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/&quot;&gt;Status and limits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page&amp;#39;s Measured section now says which run each number comes from. The generated apps&amp;#39; cards carry their date, 17 October 2026, their Angular, &lt;code&gt;22.3.0-next.2&lt;/code&gt;, and the laptop, and note that they predate the oxc linker and the ngp built from &lt;code&gt;22.3.2&lt;/code&gt;. Next to them is the restart chart from the Performance page. Two weak cards are gone: &amp;quot;Identical&amp;quot; output and &amp;quot;In place&amp;quot; edits make way for dev-server memory, 0.9 GB where &lt;code&gt;ng serve&lt;/code&gt; holds 4.7 GB at 5,000 components, and production bundles within 3% of &lt;code&gt;ng build&lt;/code&gt;&amp;#39;s. Below them, a separate block gives the real-app figures from 2 December on GitHub&amp;#39;s runners: Ghostfolio restarts in 4.3 s where Nx takes 21, Super Productivity in 15 where &lt;code&gt;ng serve&lt;/code&gt; takes 27, and a template edit lands in 130 to 190 ms where the CLIs take 3.5 to 4.5 s. Every card links the section it comes from. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/&quot;&gt;Benchmarks on real apps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page starts with what you get, a dev server that compiles only what the page asks for, with Angular&amp;#39;s own compiler and type-checking kept, and gives ngp&amp;#39;s history second. Under it, and again at the end of the page, is the command that creates an app, with a tab for npm, pnpm, Yarn, bun and Vite+ and a copy button. On a phone the hero drops its logo, so the command and the buttons sit on the first screen. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/creating-an-app/#run-it&quot;&gt;Creating an app&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The home page now has a short &amp;quot;When to use which&amp;quot; next to &lt;code&gt;ng serve&lt;/code&gt;, Analog and &lt;code&gt;@oxc-angular/vite&lt;/code&gt;: when each compiles, whose compiler, whether it type-checks templates, and when to pick it. It says where the plugin loses: &lt;code&gt;@oxc-angular/vite&lt;/code&gt; was faster and lighter on the generated apps, and the Angular CLI is still what to ship. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/comparison/&quot;&gt;Compared with alternatives&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Every docs page now ends with two links to GitHub. &amp;quot;Edit this page&amp;quot; opens the page&amp;#39;s markdown in GitHub&amp;#39;s editor, so a typo fix is a pull request away. &amp;quot;Report a problem&amp;quot; opens a new issue already titled with the page&amp;#39;s name, its address in the body, and the &lt;code&gt;documentation&lt;/code&gt; label; say what&amp;#39;s wrong and what you expected. There&amp;#39;s no &amp;quot;Was this helpful?&amp;quot; button: a yes or no doesn&amp;#39;t say what to fix. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt; shows them at the end, as every page does.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>2 December 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#2-december-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#2-december-2026"/>
    <updated>2026-12-02T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;angular&quot;&gt;Angular&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The ngp build the plugin carries is now made from Angular &lt;code&gt;22.3.2&lt;/code&gt;, the latest stable release, in place of &lt;code&gt;22.3.0-rc.0&lt;/code&gt;. The package brings its own ngp, so an app on &lt;code&gt;22.3.2&lt;/code&gt; was still compiled by the release candidate&amp;#39;s. The rebuild brings what Angular changed in ngp since then. It&amp;#39;s a short list: ngp resolves &lt;code&gt;typeof import(&amp;#39;…&amp;#39;).Name&lt;/code&gt; in a library&amp;#39;s &lt;code&gt;.d.ts&lt;/code&gt;, which TypeScript writes for a re-exported &lt;code&gt;as const&lt;/code&gt; array; &lt;code&gt;@defer&lt;/code&gt; no longer gets a warning for &lt;code&gt;prefetch when&lt;/code&gt; with another expression than its main &lt;code&gt;when&lt;/code&gt;; and the analyzer caches module resolutions. Diagnostics read as before, with their code once. Fixes in &lt;code&gt;@angular/compiler&lt;/code&gt; itself were never held back: ngp loads the one your app installs. The Angular releases the plugin accepts haven&amp;#39;t changed. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/compatibility/#angular-by-plugin-version&quot;&gt;Compatibility&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The range was measured again with the new build, and it stays &lt;code&gt;22.3.0-rc.0&lt;/code&gt; up to, not including, &lt;code&gt;22.4.0&lt;/code&gt;: nobody has to move Angular to take the next plugin release. On &lt;code&gt;22.3.0-rc.0&lt;/code&gt;, &lt;code&gt;22.3.0&lt;/code&gt; and &lt;code&gt;22.3.2&lt;/code&gt;, all 177 of the plugin&amp;#39;s tests and the playground&amp;#39;s 33 specs pass and the playground builds, and Ghostfolio and Super Productivity build on &lt;code&gt;22.3.2&lt;/code&gt;. &lt;code&gt;22.2.7&lt;/code&gt; still fails when ngp loads. The page no longer says Angular keeps patches to fixes: that isn&amp;#39;t true of ngp, and it says what the upper end rests on instead. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/compatibility/#how-the-angular-range-was-checked&quot;&gt;Compatibility&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;benchmarks&quot;&gt;Benchmarks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The real-app benchmarks ran again, on Angular &lt;code&gt;22.3.2&lt;/code&gt; and the plugin with its rebuilt ngp, on GitHub&amp;#39;s runners and on a laptop. The plugin restarts Ghostfolio&amp;#39;s dev server in 4.3 seconds where Nx takes 21, and Super Productivity&amp;#39;s in 15 where &lt;code&gt;ng serve&lt;/code&gt; takes 27; builds take 18 seconds against 26 and 26 against 49. Every time is longer than in October&amp;#39;s run for both tools, mostly because the runners were slower machines. One thing got worse on its own: on Super Productivity the plugin&amp;#39;s dev server lost ground to &lt;code&gt;ng serve&lt;/code&gt; since October, on the runners and on a laptop, and the cause isn&amp;#39;t found. The ngp rebuild isn&amp;#39;t it. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/#what-moved-since-october&quot;&gt;Benchmarks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;new-apps&quot;&gt;New apps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Apps from &lt;code&gt;create-ngp&lt;/code&gt; now set the two size budgets &lt;code&gt;ng new&lt;/code&gt; sets: &lt;code&gt;vite build&lt;/code&gt; warns when the initial bundle passes 500 kB or a component stylesheet passes 4 kB, and fails past 1 MB and 8 kB. Before, the templates set none, so an app could outgrow &lt;code&gt;ng new&lt;/code&gt;&amp;#39;s limits without a word. They&amp;#39;re in &lt;code&gt;vite.config.ts&lt;/code&gt;, to change or delete. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/creating-an-app/#the-templates&quot;&gt;Creating an app&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;yarn create @push-based/ngp&lt;/code&gt; works with Yarn 2 and later. It stopped with &lt;code&gt;ENOTDIR&lt;/code&gt; before writing the app, because Yarn runs the scaffolder from a zip file and the scaffolder copied its templates in a way Yarn&amp;#39;s zip support doesn&amp;#39;t cover. Apps it writes also carry a &lt;code&gt;.yarnrc.yml&lt;/code&gt; with &lt;code&gt;nodeLinker: node-modules&lt;/code&gt;: under Yarn&amp;#39;s default, Plug&amp;#39;n&amp;#39;Play, the first build failed with &lt;code&gt;&amp;#39;router-outlet&amp;#39; is not a known element&lt;/code&gt;, because ngp&amp;#39;s analyzer can&amp;#39;t read Angular&amp;#39;s packages from zip files. Plug&amp;#39;n&amp;#39;Play stays unsupported for apps you set up yourself. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#what-doesnt-work-yet&quot;&gt;Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm create @push-based/ngp&lt;/code&gt; now writes an app on Angular &lt;code&gt;22.3.2&lt;/code&gt; instead of the release candidate. The &lt;code&gt;app-ssr&lt;/code&gt; template pins &lt;code&gt;@angular/ssr&lt;/code&gt; to &lt;code&gt;22.3.0&lt;/code&gt;, on purpose: the Angular CLI releases that package, and &lt;code&gt;22.3.0&lt;/code&gt; is its newest 22.3 release. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/creating-an-app/#what-the-scaffolder-changes&quot;&gt;Creating an app&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs&quot;&gt;Docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new page, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/creating-an-app/&quot;&gt;Creating an app&lt;/a&gt;, covers &lt;code&gt;create-ngp&lt;/code&gt; on its own: the command for npm, pnpm, Yarn, bun and Vite+, every option, what the scaffolder changes in the template, each file both templates write and why, and how to upgrade the plugin and Angular afterwards. Using Vite+ keeps what&amp;#39;s particular to &lt;code&gt;vp create&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Configuration now covers what you&amp;#39;d look up: a table for each nested option (&lt;code&gt;ssr&lt;/code&gt;, &lt;code&gt;i18n&lt;/code&gt;, &lt;code&gt;test&lt;/code&gt; and &lt;code&gt;budgets&lt;/code&gt;), what the package exports, &lt;code&gt;extractMessages()&lt;/code&gt; included, the environment variables the plugin reads, the Vite settings it reads, and every message it stops with when an option is wrong. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#ssr&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Vitest reads &lt;code&gt;vitest.config.ts&lt;/code&gt; instead of &lt;code&gt;vite.config.ts&lt;/code&gt;, so an option you set only in &lt;code&gt;vite.config.ts&lt;/code&gt;, such as &lt;code&gt;fileReplacements&lt;/code&gt;, doesn&amp;#39;t reach your specs. Apps from &lt;code&gt;create-ngp&lt;/code&gt; have both files. Configuration now says how to share the options with &lt;code&gt;mergeConfig&lt;/code&gt; or one file, and which options behave differently under Vitest. Its first example now lists every option with its real default. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#one-config-or-two&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>27 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#27-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#27-november-2026"/>
    <updated>2026-11-27T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;fixes&quot;&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;withEventReplay()&lt;/code&gt; now works. Clicks made before the app hydrated were lost, in the dev server and in builds, with &lt;code&gt;@angular/ssr&lt;/code&gt; and with &lt;code&gt;render&lt;/code&gt; alike: Angular&amp;#39;s server renderer only sets replay up when the document it renders into holds Angular&amp;#39;s event dispatch contract script, which the Angular CLI adds at build time and the plugin didn&amp;#39;t. The plugin now adds it, right after &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt;, to the document the server renders into, and leaves the browser&amp;#39;s &lt;code&gt;index.html&lt;/code&gt; without it. With &lt;code&gt;@angular/ssr&lt;/code&gt; and in the dev server there&amp;#39;s nothing to change. With a &lt;code&gt;render&lt;/code&gt; function, &lt;code&gt;vite build&lt;/code&gt; writes the document as &lt;code&gt;dist/server/index.server.html&lt;/code&gt;, one per locale with &lt;code&gt;i18n&lt;/code&gt;: pass that to &lt;code&gt;render&lt;/code&gt; in place of &lt;code&gt;dist/client/index.html&lt;/code&gt;, or your build keeps losing early clicks. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#event-replay&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A dev server that renders pages with a &lt;code&gt;render(url, document)&lt;/code&gt; entry could answer its first page with a 500: &lt;code&gt;ENOENT: no such file or directory, rename ...tsconfig.entry.&amp;lt;hash&amp;gt;.json.&amp;lt;pid&amp;gt;.tmp&lt;/code&gt;. The first request starts the browser&amp;#39;s compiler and the server&amp;#39;s together. Both wrote the tsconfig the analyzer reads through one temporary file, and the second to move it into place found it gone. The compiler that lost stayed failed, so pages, or the browser&amp;#39;s modules, kept failing until a restart. How often it happened depended on timing: a test that fetches one page from a fresh dev server failed in four of five runs of the plugin&amp;#39;s test suite. Each write now has a temporary file of its own. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#keeping-edits-cheap-in-large-apps&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>26 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#26-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#26-november-2026"/>
    <updated>2026-11-26T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;server-rendering&quot;&gt;Server rendering&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ssr: true&lt;/code&gt; now runs &lt;code&gt;@angular/ssr&lt;/code&gt; when your app depends on it, with the files &lt;code&gt;ng new --ssr&lt;/code&gt; writes: an Express &lt;code&gt;server.ts&lt;/code&gt; on &lt;code&gt;AngularNodeAppEngine&lt;/code&gt;, &lt;code&gt;main.server.ts&lt;/code&gt; exporting the bootstrap function, and server routes. &lt;code&gt;Prerender&lt;/code&gt;, &lt;code&gt;Server&lt;/code&gt; and &lt;code&gt;Client&lt;/code&gt; render modes, status codes and redirects work in the dev server and from the built &lt;code&gt;dist/server/server.js&lt;/code&gt;, and &lt;code&gt;vite build&lt;/code&gt; prerenders, calling &lt;code&gt;getPrerenderParams&lt;/code&gt;. Before, server rendering meant a &lt;code&gt;render(url, document)&lt;/code&gt; function and a server you wrote, with no status codes; apps without &lt;code&gt;@angular/ssr&lt;/code&gt; still work that way. New &lt;code&gt;ssr.server&lt;/code&gt; and &lt;code&gt;ssr.allowedHosts&lt;/code&gt; options. &lt;code&gt;@angular/ssr&lt;/code&gt; with &lt;code&gt;i18n&lt;/code&gt; isn&amp;#39;t supported yet. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#with-angular-ssr&quot;&gt;Server rendering&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;app-ssr&lt;/code&gt; template of &lt;code&gt;create-ngp&lt;/code&gt; now scaffolds that setup in place of its &lt;code&gt;server.mjs&lt;/code&gt;: &lt;code&gt;npm start&lt;/code&gt; runs &lt;code&gt;node dist/server/server.js&lt;/code&gt;, and every route is prerendered to start with. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/#the-templates&quot;&gt;Using Vite+&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;output-cache&quot;&gt;Output cache&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cache: {dir: &amp;#39;path&amp;#39;}&lt;/code&gt; names the directory the output cache lives in, so every project of a workspace can use the same one. Under Vitest each project had its own, and linked every Angular library for itself. With one directory, a library one project linked is read by the others. Your own compiled modules stay per project, as before, and no cache key changed. It&amp;#39;s a small saving on its own: about 0.1 s for a project Vitest has never run, in the case measured. &lt;code&gt;cache: true&lt;/code&gt; and &lt;code&gt;cache: false&lt;/code&gt; work as they did. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#cache-dir&quot;&gt;Configuration&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#sharing-one-directory-between-projects&quot;&gt;How it works&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/nx/#one-output-cache-for-the-workspace&quot;&gt;Nx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;workspaceRoot&lt;/code&gt; lets the projects of a workspace share the modules they compile, not only linked libraries. ngp writes a class&amp;#39;s file into compiled code as a path from the folder of the project&amp;#39;s tsconfig, so a library file two projects import compiled to different code in each. With &lt;code&gt;workspaceRoot&lt;/code&gt; the path starts at the workspace root, and projects on one &lt;code&gt;cache.dir&lt;/code&gt; whose compiler options are the same compile the file once. Projects with different template checks still compile for themselves. The cache key no longer holds where a tsconfig is or its &lt;code&gt;outDir&lt;/code&gt;, so every cache misses once after the update. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#workspaceroot&quot;&gt;Configuration&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#sharing-one-directory-between-projects&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test: {externalLibraries: true}&lt;/code&gt; leaves Angular&amp;#39;s libraries to Node under Vitest and links each one as it loads, from the output cache. Before, Vitest transformed every inlined library once per project, after the plugin, so a workspace with many projects paid for the libraries in every one. On the plugin&amp;#39;s fixture a project Vitest has never run takes 0.34–0.39 s with it, against 1.05–1.13 s. &lt;code&gt;vi.mock&lt;/code&gt; then reaches a library only where your own code imports it, and the pool has to be &lt;code&gt;forks&lt;/code&gt; or &lt;code&gt;threads&lt;/code&gt;. Off by default. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#libraries-left-to-node&quot;&gt;Testing&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#test-externallibraries&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>25 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#25-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#25-november-2026"/>
    <updated>2026-11-25T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;angular&quot;&gt;Angular&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The plugin now accepts every Angular 22.3 release from &lt;code&gt;22.3.0-rc.0&lt;/code&gt; on, &lt;code&gt;22.3.0&lt;/code&gt; included, instead of exactly &lt;code&gt;22.3.0-rc.0&lt;/code&gt;. Before, an app on &lt;code&gt;22.3.0&lt;/code&gt; got a peer dependency conflict on install, and the docs told you to pin a release candidate. Older releases still fail when ngp loads, and 22.4 stays out until it has been run. The new page has the range for each plugin version and the runs behind it. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/compatibility/&quot;&gt;Compatibility&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;new-apps&quot;&gt;New apps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npm create @push-based/ngp&lt;/code&gt;, or &lt;code&gt;vp create @push-based/ngp&lt;/code&gt; with Vite+, scaffolds an Angular app on the plugin: the app &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt; describes, with routing, a Vitest spec on the server platform, and an &lt;code&gt;app-ssr&lt;/code&gt; template that renders on the server and hydrates. The scaffolder is a new package, &lt;code&gt;@push-based/create-ngp&lt;/code&gt;, released with the plugin at the same version, and it pins the plugin and Angular to the versions released together. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/#create-a-new-app&quot;&gt;Using Vite+&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;testing&quot;&gt;Testing&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new &lt;code&gt;test&lt;/code&gt; option holds behaviour for specs written for TestBed under JIT. Its first switch, &lt;code&gt;jitCompat&lt;/code&gt;, makes &lt;code&gt;TestBed.overrideComponent&lt;/code&gt; and the other overrides work for components that import an NgModule, from a library or your app: libraries are linked in JIT mode and &lt;code&gt;ngJitMode&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;, under Vitest only. Before, the overridden template saw nothing from the NgModule, and &lt;code&gt;*ngIf&lt;/code&gt; from &lt;code&gt;CommonModule&lt;/code&gt; failed with NG0303. &lt;code&gt;jitCompat&lt;/code&gt; also keeps &lt;code&gt;@defer&lt;/code&gt; dependencies as static imports, so a component that defers one has its metadata without &lt;code&gt;compileComponents()&lt;/code&gt;, and ng-mocks can mock it. Off by default, so existing setups compile as before. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#specs-written-for-jit&quot;&gt;Testing&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A second switch, &lt;code&gt;test.extendedDiagnostics: &amp;#39;warning&amp;#39;&lt;/code&gt;, reports Angular&amp;#39;s extended diagnostics as warnings in specs, even when your tsconfig sets one or all of them to &lt;code&gt;error&lt;/code&gt;. Before, an unused standalone import in a component failed every spec file that imported it. Builds and the dev server still report them as configured. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#specs-written-for-jit&quot;&gt;Testing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A third switch, &lt;code&gt;test.runtimeScopes&lt;/code&gt;, drops the template scope errors TestBed resolves at runtime: NG8001 to NG8004 in non-standalone components and components declared in a spec file, and NG8008 in spec-declared test hosts. Before, a component that gets its scope from &lt;code&gt;TestBed.configureTestingModule({declarations})&lt;/code&gt; failed its spec file at compile time. Standalone components outside spec files keep every error. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#specs-written-for-jit&quot;&gt;Testing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;fixes&quot;&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The output cache now misses when ngp&amp;#39;s preprocessor changes. Its key named the Angular commit the package&amp;#39;s ngp was built from, so a patched preprocessor in &lt;code&gt;node_modules&lt;/code&gt;, or a local build of ngp, kept getting output it no longer generates. The key now hashes every &lt;code&gt;.js&lt;/code&gt; file of the preprocessor, about 50 files. After updating, the first build or test run compiles everything once. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#reusing-output-between-builds&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;In the dev server, Angular libraries are now linked in server environments the plugin doesn&amp;#39;t own, such as the Worker environment &lt;code&gt;@cloudflare/vite-plugin&lt;/code&gt; adds. The dev server used to stop on startup asking for the JIT compiler, because that environment pre-bundled the libraries without the linker, and the transform skipped libraries served with a &lt;code&gt;?v=&lt;/code&gt; query. &lt;code&gt;vite build&lt;/code&gt; was not affected. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#linking-libraries&quot;&gt;How it works&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#limits&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Under pnpm 11 and later, which Vite+ installs with, a template type error made &lt;code&gt;vite build&lt;/code&gt; and &lt;code&gt;vp build&lt;/code&gt; fail with &amp;quot;Cannot read properties of undefined (reading &amp;#39;Latest&amp;#39;)&amp;quot; instead of reporting the error, and a &lt;code&gt;.ts&lt;/code&gt; edit in the dev server hit the same error. pnpm linked the TypeScript 7 the plugin carries for its type-check under the name &lt;code&gt;typescript&lt;/code&gt; inside the plugin. The plugin now parses with the TypeScript &lt;code&gt;@angular/compiler-cli&lt;/code&gt; uses, your TypeScript 6. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/#limits&quot;&gt;Using Vite+&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;An extended diagnostic in an external template, such as NG8109 for an uninvoked signal in &lt;code&gt;counter.html&lt;/code&gt;, no longer breaks the component under the dev server or Vitest. Vite read the template offset as one into the &lt;code&gt;.ts&lt;/code&gt; module, so the frame showed the wrong line, and an offset past the module&amp;#39;s end threw and failed the module over a warning. The message now starts with the template&amp;#39;s &lt;code&gt;path:line:column&lt;/code&gt;, and a warning stays a warning. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#angulars-extended-diagnostics&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs&quot;&gt;Docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/vite-plus/&quot;&gt;Using Vite+&lt;/a&gt; now covers moving an existing app with &lt;code&gt;vp migrate&lt;/code&gt;, including the esbuild install script pnpm 11 and later stop on, what &lt;code&gt;vp check&lt;/code&gt;, &lt;code&gt;vp test&lt;/code&gt; and &lt;code&gt;vpx ngp-extract-i18n&lt;/code&gt; do with an Angular app, and server rendering under &lt;code&gt;vp dev&lt;/code&gt; and &lt;code&gt;vp build&lt;/code&gt;. CI runs both templates under Vite+ on every change.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>17 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#17-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#17-november-2026"/>
    <updated>2026-11-17T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;angular&quot;&gt;Angular&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The plugin moved from Angular &lt;code&gt;22.3.0-next.4&lt;/code&gt; to &lt;code&gt;22.3.0-rc.0&lt;/code&gt;, and the ngp it carries is built from the commit that release was cut at. Move every &lt;code&gt;@angular/*&lt;/code&gt; package in your app with it: the pin is still exact. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The newer ngp fixes code it compiled differently from &lt;code&gt;ng build&lt;/code&gt;: a generated import alias (&lt;code&gt;i0&lt;/code&gt;, &lt;code&gt;i1&lt;/code&gt;, …) that clashed with a name already in the file, &lt;code&gt;import x = …&lt;/code&gt; statements that weren&amp;#39;t hoisted with the other imports, &lt;code&gt;hostDirectives&lt;/code&gt; entries that could be dropped, and globals declared in a &lt;code&gt;.d.ts&lt;/code&gt; file the tsconfig includes that didn&amp;#39;t resolve. Angular itself now reports an unknown property bound on an explicit &lt;code&gt;&amp;lt;ng-template&amp;gt;&lt;/code&gt;, under &lt;code&gt;ng build&lt;/code&gt; too, so a template that compiled on next.4 can fail on rc.0. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/&quot;&gt;Status&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>10 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#10-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#10-november-2026"/>
    <updated>2026-11-10T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;fixes&quot;&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A template edit now updates in place for a component outside the folder that holds the app&amp;#39;s tsconfig, such as a library next to the app in a monorepo. The plugin sent the update under a path relative to that folder (&lt;code&gt;../../libs/ui/...&lt;/code&gt;), while the compiled component listens for its full path, so the page ignored the update until a reload. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>9 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#9-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#9-november-2026"/>
    <updated>2026-11-09T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;builds&quot;&gt;Builds&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;vite build&lt;/code&gt; and Vitest now keep compiled output between runs, under Vite&amp;#39;s &lt;code&gt;cacheDir&lt;/code&gt;, and skip ngp&amp;#39;s code generation, the linker and the build optimizer for every module whose code, templates, stylesheets and used components are unchanged. A new &lt;code&gt;cache&lt;/code&gt; option, on by default, turns it off. The dev server doesn&amp;#39;t use it. On the 5,000-component app, measured on a loaded laptop, a build without type-checking went from 48 s cold to 16 s warm. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#reusing-output-between-builds&quot;&gt;How it works&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;linking-libraries&quot;&gt;Linking libraries&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The linker no longer runs through Babel. The plugin drives Angular&amp;#39;s &lt;code&gt;FileLinker&lt;/code&gt; over Vite&amp;#39;s oxc parser, a port of the pair the CLI keeps private, and splices each linked definition into the module in place. On the 21 partially compiled modules of Angular&amp;#39;s own packages it&amp;#39;s about three times faster warm and eight times on the first module, measured in one process, not on the bench. The output is the same; a declaration&amp;#39;s constants now sit in a pure IIFE around its definition instead of at module scope. &lt;code&gt;@babel/core&lt;/code&gt; is gone from the package&amp;#39;s dependencies. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#linking-libraries&quot;&gt;How it works&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#where-its-weakest&quot;&gt;Status and limits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;fixes&quot;&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The generated entry-only tsconfig in Vite&amp;#39;s cache directory is now named by its content and moved into place after it&amp;#39;s written whole. Two Vite processes on one project with different entries, a dev server next to a Vitest run, say, could overwrite each other&amp;#39;s file or read a half-written one and fail with &amp;quot;Could not load the ng-exp-compiler analysis engine&amp;quot;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>7 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#7-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#7-november-2026"/>
    <updated>2026-11-07T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;configuration&quot;&gt;Configuration&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;An &lt;code&gt;engine&lt;/code&gt; that is neither &lt;code&gt;&amp;#39;native&amp;#39;&lt;/code&gt; nor &lt;code&gt;&amp;#39;wasm&amp;#39;&lt;/code&gt; now fails startup with a message naming both, like a wrong &lt;code&gt;typeChecker&lt;/code&gt; does. Before, any value other than &lt;code&gt;&amp;#39;native&amp;#39;&lt;/code&gt; quietly loaded the single-threaded wasm analyzer, so a typo like &lt;code&gt;&amp;#39;natve&amp;#39;&lt;/code&gt; made every compile slower with no error. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs&quot;&gt;Docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#typechecker&quot;&gt;Configuration&lt;/a&gt; and &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#where-its-weakest&quot;&gt;Status and limits&lt;/a&gt; now give the same type-check figures as &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#checking-with-tsrs&quot;&gt;Type-checking&lt;/a&gt; and &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#type-errors-in-the-dev-server&quot;&gt;Performance&lt;/a&gt;, from the rerun: on the 5,000-component app a planted template error reaches the terminal in 1.36 s with &lt;code&gt;tsgo&lt;/code&gt; and 1.02 s with tsrs. They still carried 1.56 s and 1.12 s from the single earlier run, and 1.45 s.&lt;/li&gt;
&lt;li&gt;The compile-time globals table in &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#compile-time-globals&quot;&gt;How it works&lt;/a&gt; now says &lt;code&gt;ngHmrMode&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt; in builds, in server environments, under Vitest and with &lt;code&gt;hmr: false&lt;/code&gt;, not only under Vitest.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;i18n&quot;&gt;i18n&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ngp-extract-i18n&lt;/code&gt; with a flag it doesn&amp;#39;t know, such as &lt;code&gt;--out&lt;/code&gt;, or a flag missing its value, now prints which flag was wrong and the usage text, and exits 1, instead of a Node stack trace. A &lt;code&gt;--duplicates&lt;/code&gt; value other than &lt;code&gt;error&lt;/code&gt;, &lt;code&gt;warning&lt;/code&gt; or &lt;code&gt;ignore&lt;/code&gt; is an error too, where before it acted as &lt;code&gt;warning&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/i18n/#extract-the-messages&quot;&gt;Internationalization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;dev-server&quot;&gt;Dev server&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Closing a dev server in middleware mode, the setup for hosting Vite inside your own Node server, now closes the ngp compilers. The plugin closed them when Vite&amp;#39;s HTTP server closed, and middleware mode has none, so the analyzers and their threads outlived &lt;code&gt;vite.close()&lt;/code&gt;. They now close when Vite closes the server, with or without an HTTP server. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#what-the-plugin-does&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;server-rendering&quot;&gt;Server rendering&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A server entry named in &lt;code&gt;ssr: {entry: &amp;#39;src/server.ts&amp;#39;}&lt;/code&gt; is now in the default &lt;code&gt;entries&lt;/code&gt;, so it gets &lt;code&gt;zone.js/node&lt;/code&gt;, your other &lt;code&gt;polyfills&lt;/code&gt; and the &lt;code&gt;i18n&lt;/code&gt; prelude. Before, only &lt;code&gt;src/main.ts&lt;/code&gt; and &lt;code&gt;src/main.server.ts&lt;/code&gt; were, and a zone.js app with a custom server entry failed to bootstrap on the server unless you set &lt;code&gt;entries&lt;/code&gt;, which replaces the whole default. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#entries&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;With &lt;code&gt;ssr&lt;/code&gt;, &lt;code&gt;vite build&lt;/code&gt; now writes the browser bundle to &lt;code&gt;&amp;lt;outDir&amp;gt;/client&lt;/code&gt; and the server entry to &lt;code&gt;&amp;lt;outDir&amp;gt;/server&lt;/code&gt;, following your &lt;code&gt;build.outDir&lt;/code&gt;. It used to write &lt;code&gt;dist/client&lt;/code&gt; and &lt;code&gt;dist/server&lt;/code&gt; whatever &lt;code&gt;build.outDir&lt;/code&gt; said. Without a &lt;code&gt;build.outDir&lt;/code&gt; nothing moves, and an &lt;code&gt;outDir&lt;/code&gt; you set on the &lt;code&gt;client&lt;/code&gt; or &lt;code&gt;ssr&lt;/code&gt; environment is kept. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#what-the-plugin-does&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>6 November 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#6-november-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#6-november-2026"/>
    <updated>2026-11-06T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;testing&quot;&gt;Testing&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The documented Vitest setup now runs specs in Node on the server platform: &lt;code&gt;environment: &amp;#39;node&amp;#39;&lt;/code&gt;, &lt;code&gt;@angular/platform-server/init&lt;/code&gt; and &lt;code&gt;ServerTestingModule&lt;/code&gt;. The DOM is Domino, the one Angular renders with on the server, so a component that passes its spec also renders on the server, and a warm run of the playground&amp;#39;s 11 tests went from 1.1–1.3 s to 0.58–0.61 s without jsdom&amp;#39;s window setup. Domino is smaller than jsdom: spread &lt;code&gt;querySelectorAll&lt;/code&gt; results with &lt;code&gt;Array.from&lt;/code&gt;, and dispatch &lt;code&gt;new Event(type)&lt;/code&gt; rather than &lt;code&gt;new MouseEvent(type)&lt;/code&gt;. jsdom is still documented as the alternative. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#why-the-server-platform&quot;&gt;Testing with Vitest&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Vitest&amp;#39;s browser mode works too, on headless Chromium through &lt;code&gt;@vitest/browser-playwright&lt;/code&gt;, with the same specs and the jsdom setup file. The playground now runs its specs all three ways, as three Vitest projects, and the page compares them. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/#which-to-pick&quot;&gt;Testing with Vitest&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;angular&quot;&gt;Angular&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The plugin moved from Angular &lt;code&gt;22.3.0-next.2&lt;/code&gt; to &lt;code&gt;22.3.0-next.4&lt;/code&gt;, and the ngp it carries is built from the commit that release was cut at. Move every &lt;code&gt;@angular/*&lt;/code&gt; package in your app with it: the pin is still exact, because ngp imports private APIs from &lt;code&gt;@angular/compiler-cli&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;type-checking&quot;&gt;Type-checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;ngp now runs Angular&amp;#39;s extended diagnostics, the NG81xx template checks &lt;code&gt;ng build&lt;/code&gt; reports, so an uninvoked signal in an interpolation or a unitless CSS length is a warning in your terminal while the module compiles. They come out of the compile, not the type-check pass, so you get them with &lt;code&gt;typeCheck: false&lt;/code&gt; too, and your tsconfig&amp;#39;s &lt;code&gt;angularCompilerOptions.extendedDiagnostics&lt;/code&gt; decides their severity. A check name or category that doesn&amp;#39;t exist fails startup with Angular&amp;#39;s message, instead of turning every extended check off in silence. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#angulars-extended-diagnostics&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;dev-server&quot;&gt;Dev server&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Restoring a file you deleted recovers again. The newer analyzer drops the edge from an importer to a file it&amp;#39;s told was deleted, so a restored component stayed &amp;quot;not a known element&amp;quot; until the importer was edited; the plugin now tells the analyzer about created files and re-analyzes the importers itself. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#handling-an-edit&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>21 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#21-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#21-october-2026"/>
    <updated>2026-10-21T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;packaging&quot;&gt;Packaging&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;On npm: &lt;code&gt;npm install -D @push-based/vite-plugin-ngp&lt;/code&gt;. 0.2.0 is the first version there, and it needs no &lt;code&gt;toolchain&lt;/code&gt; option and no &lt;code&gt;pnpm toolchain&lt;/code&gt;, because it carries its own ngp build. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt; now starts from npm; building ngp in a clone is for working on the plugin. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#where-its-weakest&quot;&gt;Status and limits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The Building ngp page and the playground&amp;#39;s clone-and-build steps are gone from this site, since using the plugin no longer needs a Rust build. Building ngp to work on the plugin is in the repo&amp;#39;s &lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp/blob/main/docs/building.md&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;docs/building.md&lt;/a&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The package is now named &lt;code&gt;@push-based/vite-plugin-ngp&lt;/code&gt;, under the PushBased npm org like its other packages. Import the plugin with &lt;code&gt;import {ngp} from &amp;#39;@push-based/vite-plugin-ngp&amp;#39;&lt;/code&gt;. If you installed it from a clone, run &lt;code&gt;pnpm install&lt;/code&gt; again and change that one import in &lt;code&gt;vite.config.ts&lt;/code&gt;; the plugin&amp;#39;s options didn&amp;#39;t change. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>20 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#20-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#20-october-2026"/>
    <updated>2026-10-20T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;packaging&quot;&gt;Packaging&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The plugin&amp;#39;s package now carries its own ngp build: ngp&amp;#39;s backend, the wasm engine, and native engines for macOS (arm64, x64) and glibc Linux (x64, arm64). When neither &lt;code&gt;toolchain&lt;/code&gt; nor &lt;code&gt;NGP_TOOLCHAIN&lt;/code&gt; is set, the plugin loads that build, so a released copy needs no options and no &lt;code&gt;pnpm toolchain&lt;/code&gt;. Nothing is on npm yet, so for now this changes nothing for a copy installed from a clone. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/&quot;&gt;Configuration&lt;/a&gt;, &lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp/blob/main/docs/building.md#the-build-inside-the-package&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;docs/building.md&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>19 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#19-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#19-october-2026"/>
    <updated>2026-10-19T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;repo&quot;&gt;Repo&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The repo is now &lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;push-based/vite-plugin-ngp&lt;/a&gt;, named after the plugin, and these docs moved to &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;https://push-based.github.io/vite-plugin-ngp/&lt;/a&gt;. Old GitHub links redirect; links to the old docs address don&amp;#39;t. A fresh clone lands in &lt;code&gt;vite-plugin-ngp/&lt;/code&gt;, so the &lt;code&gt;toolchain&lt;/code&gt; paths in &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/getting-started/&quot;&gt;Getting started&lt;/a&gt; changed to match. If you cloned before, run &lt;code&gt;git remote set-url origin https://github.com/push-based/vite-plugin-ngp.git&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs-site&quot;&gt;Docs site&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;a href=&quot;https://github.com/push-based/ng-hybrid-preprocessor-bench&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;ngp benchmark&lt;/a&gt; is public, so its links on &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/&quot;&gt;Benchmarks&lt;/a&gt; and &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/comparison/&quot;&gt;Comparison&lt;/a&gt; work for everyone and no longer say &amp;quot;private repo&amp;quot;. It has the generator behind the test apps, the methodology, and the audits the plugin&amp;#39;s design started from.&lt;/li&gt;
&lt;li&gt;A new logo: an Angular &amp;quot;A&amp;quot; between two parentheses, inside a gear, in cyan to magenta. It&amp;#39;s in the header, on the home page, as the favicon, and in the repo&amp;#39;s README. The inside of the gear is transparent, so it looks the same on the light theme and the dark one.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>18 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#18-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#18-october-2026"/>
    <updated>2026-10-18T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;type-checking&quot;&gt;Type-checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;What the idle-triggered first check gains on a cold start is now measured on the generated 5,000-component app, with the plugin before and after the change started in the same rounds: first paint went from 1.84 s to 1.70 s, every sample of the old plugin slower than every sample of the new. A restart paints before the old one-second delay ever fired, and didn&amp;#39;t move. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#where-its-weak&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs&quot;&gt;Docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The Performance page is remeasured on the plugin with the tsrs option merged and the first dev-server check waiting for an idle server: the four generated apps on the laptop, now with &lt;code&gt;typeChecker: &amp;#39;tsrs&amp;#39;&lt;/code&gt; as a row of its own in every table. tsrs shows a type error at 5,000 components in 1.02 s where &lt;code&gt;tsgo&lt;/code&gt; takes 1.36 s, and takes about half a gigabyte off the dev server&amp;#39;s peak during edits and off a production build&amp;#39;s; starts, edits and build times are within the run-to-run drift with either. Every other number moved by a few percent either way. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The Benchmarks page is remeasured too, on the same plugin: the two real apps on GitHub&amp;#39;s runners and on the laptop. The change that shows is Super Productivity&amp;#39;s cold start on a 4-core runner, 10.5 s against &lt;code&gt;ng serve&lt;/code&gt;&amp;#39;s 17.4 where the morning&amp;#39;s run had 21.4 against 23.1, at a peak of 3.0 GB instead of 4.9, now that the first type-check waits for an idle server; the runners were faster this time too, and the page says how much of the drop is which. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/#starting-the-dev-server&quot;&gt;Benchmarks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>17 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#17-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#17-october-2026"/>
    <updated>2026-10-17T00:00:00.000Z</updated>
    <content type="html">&lt;h3 id=&quot;type-checking&quot;&gt;Type-checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New option &lt;code&gt;typeChecker: &amp;#39;tsrs&amp;#39;&lt;/code&gt; runs the type check with tsrs, Oxc&amp;#39;s Rust port of TypeScript 7, instead of &lt;code&gt;tsgo&lt;/code&gt;. You install &lt;code&gt;tsrs&lt;/code&gt; yourself; the plugin hands it the same tsconfig and errors land in the same places. On the 5,000-component app a planted template error reaches the terminal in 1.12 s instead of 1.56 s, measured in one run; on the playground the two are even. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#checking-with-tsrs&quot;&gt;Checking with tsrs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;docs-site&quot;&gt;Docs site&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The site has search. Press ⌘K (Ctrl+K off a Mac) or the search button in the header, and it finds any page and the section of it that matches, such as &lt;code&gt;allowedHosts&lt;/code&gt; in &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#the-server-entry&quot;&gt;Server rendering&lt;/a&gt;. The index is built with Pagefind when the site is, and nothing of it loads until you open search: about 165 kB compressed then, most of it Pagefind&amp;#39;s WebAssembly and the index.&lt;/li&gt;
&lt;li&gt;A link to a section, from &amp;quot;On this page&amp;quot;, from search or from a URL with a &lt;code&gt;#&lt;/code&gt;, leaves the heading below the header instead of under it, on a phone too. Try &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#what-it-checks&quot;&gt;What it checks&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;type-checking-2&quot;&gt;Type-checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The first type-check of a dev-server session waits until the server is idle, half a second with no request and no module compile, instead of starting one second after the server starts. Generating every component&amp;#39;s type-check block ran on Vite&amp;#39;s thread while the first page was compiling; on Super Productivity that was 0.67 s of the thread, and first paint went from 6.72 s to 6.00 s on a warm restart once the check waits. The first errors show up later, after the page instead of alongside it. Checks after edits are unchanged. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/#what-you-see&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;server-rendering&quot;&gt;Server rendering&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The dev server pre-bundles and caches the server&amp;#39;s Angular libraries, in &lt;code&gt;node_modules/.vite/deps_ssr&lt;/code&gt;, instead of linking and transforming them on every start. On the playground the first server-rendered page after a warm restart went from 1.3 s to 0.74 s. The server bundle has no source maps: a stack trace from inside Angular points into the readable pre-bundle. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#what-the-plugin-does&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;editing-in-the-dev-server&quot;&gt;Editing in the dev server&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A save can no longer be undone by a module Vite read just before it: components compiled afterwards see the saved file. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#handling-an-edit&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Template edits reach the page about 50 ms sooner on macOS. The plugin&amp;#39;s 50 ms wait for the rest of a save now counts from when the template was written, not from when Vite&amp;#39;s watcher reported it, and the watcher usually reports later than that. At 1,000 components the median template edit went from 169 ms to 120 ms. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#template-edits&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A class edit could reload the page twice, a second after the first reload. That happened when the plugin read the &lt;code&gt;.ts&lt;/code&gt; file between a save truncating it and writing it. The plugin now waits out an empty read, the way Vite does. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DEBUG=vite-plugin-ngp&lt;/code&gt; also logs how long each step of a template update took. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#what-the-plugin-sets-for-you&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;performance&quot;&gt;Performance&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Every number on the &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt; page was measured again on the current plugin, in one run on 17 October: cold starts, restarts, edits, type errors, builds and bundle sizes for all four toolchains on all four apps, instead of the 16 October run with the plugin&amp;#39;s edit row patched in from a later one. The results barely moved, which is the point: at 5,000 components the plugin shows the first page in 1.74 s where &lt;code&gt;ng serve&lt;/code&gt; takes 28.3 s, a template edit lands in about 120 ms, and a build takes 20.2 s against 30.1 s. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The page has a &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#memory&quot;&gt;Memory&lt;/a&gt; section now. The generated apps were measured for memory the way the real apps are: at 5,000 components the plugin&amp;#39;s dev server holds 1.0 GB after a restart where &lt;code&gt;ng serve&lt;/code&gt; holds 6.0 GB, and 1.4 GB after the edits where &lt;code&gt;ng serve&lt;/code&gt; holds 6.6 GB. Builds are even: 5.0 GB against 5.1 GB. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#memory&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Both benchmark pages have figures. Each table of medians now has a chart above it, one bar per tool and app on a shared scale, with the plugin in violet and the fastest edit marked. They&amp;#39;re drawn from the result files by &lt;code&gt;node bench/charts.mjs&lt;/code&gt; and follow the site&amp;#39;s dark theme. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#starting-the-dev-server&quot;&gt;Performance&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/#starting-the-dev-server&quot;&gt;Benchmarks on real apps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bundle size has figures too: all the JavaScript a build writes and the initial part, gzipped, per tool and app. On the generated apps the plugin&amp;#39;s output is within 3% of &lt;code&gt;ng build&lt;/code&gt;&amp;#39;s; on Super Productivity it&amp;#39;s 10% smaller than the CLI&amp;#39;s, on Ghostfolio 3% larger. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/#bundle-size&quot;&gt;Performance&lt;/a&gt;, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/#bundle-size&quot;&gt;Benchmarks on real apps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;benchmarks-on-real-apps&quot;&gt;Benchmarks on real apps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new page, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/benchmarks/&quot;&gt;Benchmarks on real apps&lt;/a&gt;: the plugin against the Angular CLI on Super Productivity and against Nx on Ghostfolio, two open-source apps, for dev-server starts, edits, production builds and memory, measured on GitHub&amp;#39;s runners and on a laptop. On GitHub&amp;#39;s 4-core runners the plugin restarts Ghostfolio&amp;#39;s dev server in 4.5 s where Nx takes 21 s, updates a template in about 130–150 ms on both apps where the CLIs take 3.3–3.7 s, builds Super Productivity in 18 s where &lt;code&gt;ng build&lt;/code&gt; takes 32 s, and holds a third to a half of the CLIs&amp;#39; memory while you work; its cold start of Super Productivity, 21.4 s against 23.1 s, is the one number that barely moves. It also lists what each app needed to run on a per-file compiler at all. The &lt;code&gt;bench-real&lt;/code&gt; workflow reruns it on demand.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#what-has-been-measured-and-what-hasnt&quot;&gt;Status and limits&lt;/a&gt; now says real apps, Linux and memory have been measured, and what still hasn&amp;#39;t.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;internationalization&quot;&gt;Internationalization&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A translation file with a unit the parser can&amp;#39;t read in full, such as a &lt;code&gt;{&lt;/code&gt; in a translation that isn&amp;#39;t an ICU expression, no longer fails &lt;code&gt;vite build&lt;/code&gt;. The error is logged and the build goes on, as &lt;code&gt;ng build&lt;/code&gt; does with the same file. Ghostfolio&amp;#39;s Catalan translations have two such units. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/i18n/#the-build&quot;&gt;Internationalization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;this-site&quot;&gt;This site&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new page, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/comparison/&quot;&gt;Compared with alternatives&lt;/a&gt;, sets vite-plugin-ngp next to &lt;code&gt;ng serve&lt;/code&gt;, Analog (its default path and &lt;code&gt;fastCompile&lt;/code&gt;) and &lt;code&gt;@oxc-angular/vite&lt;/code&gt;: when each compiles, whose compiler it runs, type-checking, HMR, SSR, linking, and how you get it, with a source for every claim and where the plugin is weaker.&lt;/li&gt;
&lt;li&gt;A new page, &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/nx/&quot;&gt;Migrating inside an Nx workspace&lt;/a&gt;: how to move one app of an Nx workspace to the plugin while the rest stays on Nx. Vite&amp;#39;s root in the app&amp;#39;s folder, &lt;code&gt;tsconfig.base.json&lt;/code&gt;&amp;#39;s paths as Vite aliases, libraries compiled from source with the app, &lt;code&gt;export type&lt;/code&gt; and decorator metadata, Nx targets, and why &lt;code&gt;nx build my-lib&lt;/code&gt; stays on ng-packagr. Checked on Ghostfolio, with Vite&amp;#39;s root at the workspace root and at the app&amp;#39;s folder.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/status/#what-doesnt-work-yet&quot;&gt;Status and limits&lt;/a&gt; says library builds aren&amp;#39;t supported, and &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/migrating-from-ng-build/#cant-move-yet&quot;&gt;Migrating from ng build&lt;/a&gt; lists a library project under what can&amp;#39;t move.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/migrating-from-ng-build/#where-every-option-goes&quot;&gt;Migrating from ng build&lt;/a&gt; now says where &lt;code&gt;localize&lt;/code&gt; and &lt;code&gt;i18nMissingTranslation&lt;/code&gt; go, since i18n works. It listed them as not yet possible.&lt;/li&gt;
&lt;li&gt;An editing pass over every page: stale counts fixed, and the Server rendering page&amp;#39;s prerender timing remeasured on the current 14 pages. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#prerendering-for-static-hosting&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The repo, &lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;push-based/vite-angular&lt;/a&gt;, is public. Building ngp (&lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp/blob/main/docs/building.md&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;docs/building.md&lt;/a&gt;) now starts with &lt;code&gt;git clone&lt;/code&gt; instead of asking for access, and no page calls the repo private any more.&lt;/li&gt;
&lt;li&gt;Tables no longer break option names or types mid-word. The &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/configuration/#options&quot;&gt;Options&lt;/a&gt; table puts each option&amp;#39;s type and default in one cell so it fits the docs column, and on a phone every table with three or more columns stacks each row into labeled lines.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>16 October 2026</title>
    <id>https://push-based.github.io/vite-plugin-ngp/changelog/#16-october-2026</id>
    <link rel="alternate" type="text/html" href="https://push-based.github.io/vite-plugin-ngp/changelog/#16-october-2026"/>
    <updated>2026-10-16T00:00:00.000Z</updated>
    <content type="html">&lt;p&gt;The first day: from an empty repo to a plugin that compiles, serves, renders, tests and type-checks Angular through ngp.&lt;/p&gt;
&lt;h3 id=&quot;compiling-and-building&quot;&gt;Compiling and building&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Every &lt;code&gt;.ts&lt;/code&gt; module compiles on request with ngp&amp;#39;s optimize mode, from the code Vite hands over, with no whole-program pass first. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#compiling-one-module&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Angular libraries are linked, in dependency pre-bundling and in builds, so the browser never needs the JIT compiler. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#linking-libraries&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The plugin defines Angular&amp;#39;s compile-time globals (&lt;code&gt;ngDevMode&lt;/code&gt;, &lt;code&gt;ngJitMode&lt;/code&gt;, &lt;code&gt;ngServerMode&lt;/code&gt;, &lt;code&gt;ngHmrMode&lt;/code&gt;) the way the CLI does. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#compile-time-globals&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vite build&lt;/code&gt; runs Angular&amp;#39;s build optimizer, which brings the playground&amp;#39;s JavaScript to within 2% of &lt;code&gt;ng build&lt;/code&gt;&amp;#39;s. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#the-build-optimizer&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ngp builds inside the repo with one command, &lt;code&gt;pnpm toolchain&lt;/code&gt;, with no Rust installed beforehand. &lt;a href=&quot;https://github.com/push-based/vite-plugin-ngp/blob/main/docs/building.md&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;docs/building.md&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;editing-in-the-dev-server&quot;&gt;Editing in the dev server&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Component HMR: an external template edit updates the running component in place, keeping its state. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;.ts&lt;/code&gt; edit that only changes a component&amp;#39;s inline &lt;code&gt;template&lt;/code&gt; or &lt;code&gt;styles&lt;/code&gt; updates in place too, with the CLI&amp;#39;s rules for what&amp;#39;s safe. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;One save that changes a component&amp;#39;s class and its template reloads once, instead of applying a template the class can&amp;#39;t run yet. That holds however far apart, and however often, the watcher reports the two files, as macOS&amp;#39;s does. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#component-hmr&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Adding, renaming and deleting files compiles as a fresh build would. Deleting a file that&amp;#39;s still used is an error until it&amp;#39;s back, and a missing &lt;code&gt;templateUrl&lt;/code&gt; file reports &lt;code&gt;NG2008&lt;/code&gt; instead of rendering a blank component. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/how-it-works/#handling-an-edit&quot;&gt;How it works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;styles-type-checking-and-tests&quot;&gt;Styles, type-checking and tests&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Component stylesheets (&lt;code&gt;styleUrl&lt;/code&gt;, &lt;code&gt;styleUrls&lt;/code&gt;) go through Vite&amp;#39;s CSS pipeline, so Sass, PostCSS and CSS HMR apply. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/styles/&quot;&gt;Component styles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Templates and TypeScript are type-checked with TypeScript 7 over ngp&amp;#39;s type-check blocks, in a separate process, with errors in the terminal and the overlay. New option: &lt;code&gt;typeCheck&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/type-checking/&quot;&gt;Type-checking&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Angular specs run under Vitest, compiled ahead of time with ngp. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/testing/&quot;&gt;Testing with Vitest&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;moving-from-ng-build&quot;&gt;Moving from ng build&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New options &lt;code&gt;fileReplacements&lt;/code&gt;, &lt;code&gt;budgets&lt;/code&gt; and &lt;code&gt;polyfills&lt;/code&gt;, in angular.json&amp;#39;s shapes. Replacements reach ngp&amp;#39;s analyzer too, budgets print the CLI&amp;#39;s messages and fail the build on errors, and zone.js apps get &lt;code&gt;async&lt;/code&gt;/&lt;code&gt;await&lt;/code&gt; rewritten so change detection still runs after an &lt;code&gt;await&lt;/code&gt;. Every other build option is mapped to Vite config. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/migrating-from-ng-build/&quot;&gt;Migrating from ng build&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;internationalization&quot;&gt;Internationalization&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New option &lt;code&gt;i18n&lt;/code&gt;: Angular&amp;#39;s &lt;code&gt;i18n&lt;/code&gt; attributes and &lt;code&gt;$localize&lt;/code&gt;, with a dev server in one locale and a &lt;code&gt;vite build&lt;/code&gt; that writes one translated folder per locale, server bundles included. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/i18n/&quot;&gt;Internationalization&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ngp-extract-i18n&lt;/code&gt; writes the app&amp;#39;s messages as XLIFF 1.2 or 2.0, XMB, JSON or ARB, like &lt;code&gt;ng extract-i18n&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/i18n/#extract-the-messages&quot;&gt;Internationalization&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The compiler reads &lt;code&gt;enableI18nLegacyMessageIdFormat&lt;/code&gt; and &lt;code&gt;i18nNormalizeLineEndingsInICUs&lt;/code&gt; from &lt;code&gt;angularCompilerOptions&lt;/code&gt;, and the plugin defines &lt;code&gt;ngI18nClosureMode&lt;/code&gt;, so message ids match &lt;code&gt;ng build&lt;/code&gt;&amp;#39;s. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/i18n/#mark-text-for-translation&quot;&gt;Internationalization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;server-rendering&quot;&gt;Server rendering&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New option &lt;code&gt;ssr&lt;/code&gt;: pages render on the server in the dev server, and &lt;code&gt;vite build&lt;/code&gt; builds a server bundle beside the browser one. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Server builds bundle and link every Angular library in your &lt;code&gt;dependencies&lt;/code&gt;. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/server-rendering/#what-the-plugin-does&quot;&gt;Server rendering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;performance&quot;&gt;Performance&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The first end-to-end numbers, against &lt;code&gt;ng serve&lt;/code&gt;, Analog and &lt;code&gt;@oxc-angular/vite&lt;/code&gt;: at 5,000 components the plugin shows the first page in 1.9 s where &lt;code&gt;ng serve&lt;/code&gt; takes 28.5 s, and a template edit in about 150 ms where &lt;code&gt;ng serve&lt;/code&gt; takes 1.8 s. The harness is in the repo&amp;#39;s &lt;code&gt;bench/&lt;/code&gt; folder. &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/performance/&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;this-site&quot;&gt;This site&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Docs at &lt;a href=&quot;https://push-based.github.io/vite-plugin-ngp/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;https://push-based.github.io/vite-plugin-ngp/&lt;/a&gt;, built with the plugin itself and prerendered with Angular SSR. They redeploy on every push.&lt;/li&gt;
&lt;li&gt;Dark theme, copy buttons, heading links, the file name on each snippet, and &lt;code&gt;llms.txt&lt;/code&gt; for AI assistants.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
</feed>
