Skip to content
PluginStats

@analogjs/vite-plugin-angular weekly downloads statistics

By analogjs · npm · Vite plugins

Vite Plugin for Angular

View on npm Fresh · Dec 6, 2026

@analogjs/vite-plugin-angular has 1,020,469 recorded weekly downloads on npm, an increase of 12.4% over the past 30 days, ranking #290 of 3,247 tracked listings.

Weekly downloads
1,020,469
Official API · Dec 5, 2026
7-day growth
+8.8%
+82.1K weekly downloads
30-day growth
+12.4%
+112.3K weekly downloads
90-day growth
+122%
+561.4K weekly downloads
Rank
#290
▼ 1 in 7 days

About @analogjs/vite-plugin-angular

@analogjs/vite-plugin-angular

Vite Plugin Registry

A Vite plugin for building Angular applications

Install

With npm:

npm install @analogjs/vite-plugin-angular --save-dev

With pnpm:

pnpm install @analogjs/vite-plugin-angular --save-dev

With yarn:

yarn install @analogjs/vite-plugin-angular --dev

With bun:

bun install @analogjs/vite-plugin-angular --dev

Setup

Add the plugin to the plugins array in your Vite config

import { defineConfig } from 'vite';
import angular from '@analogjs/vite-plugin-angular';

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    mainFields: ['module'],
  },

  plugins: [angular()],
});

The angular plugin should be listed first in the plugins array.

Plugin Options

All options are optional.

OptionDefaultDescription
tsconfigtsconfig.app.jsonPath to the tsconfig used for compilation, or a function returning it. Libraries default to tsconfig.lib.json and tests to tsconfig.spec.json.
workspaceRootNX_WORKSPACE_ROOT, then process.cwd()Absolute path to the workspace root. Set it in monorepos where the app is not the working directory.
inlineStylesExtension'css'Stylesheet language for inline component styles, such as 'scss'. See CSS Pre-processors.
jittrue in tests, false otherwiseCompile components in JIT mode instead of AOT.
include[]Additional globs, relative to the workspace root, to add to compilation, such as components from a library outside the tsconfig include.
liveReloadtrueEnables Angular component HMR during development. This is separate from Vite's server.hmr transport option.
disableTypeCheckingtrueSkips semantic and template diagnostics during compilation. Set to false to report type errors from the Vite build.
fileReplacements[]Replaces source files at build time, like fileReplacements in angular.json. Use { replace, with }, or { replace, ssr } for the SSR build. with and ssr paths resolve against workspaceRoot.
fastCompilefalseOpts into the fast compile path.
fastCompileMode'full'Output mode for fastCompile: 'full' for apps, 'partial' for publishing libraries.
debugfalseEnables analog:angular:* debug logging.
import { defineConfig } from 'vite';
import angular from '@analogjs/vite-plugin-angular';

export default defineConfig(({ mode }) => ({
  plugins: [
    angular({
      inlineStylesExtension: 'scss',
      fileReplacements:
        mode === 'production'
          ? [
              {
                replace: 'src/environments/environment.ts',
                with: 'src/environments/environment.prod.ts',
              },
            ]
          : [],
    }),
  ],
}));

Fast Compile Mode

fastCompile opts the plugin into a single-pass compilation path that emits Ivy instructions directly and skips Angular's template type-checking. It's intended for content-focused apps and faster dev iteration where build throughput matters more than inline type-safety feedback.

export default defineConfig({
  plugins: [angular({ fastCompile: true })],
});

When fastCompile is enabled, template and input type errors will not surface during compilation. Run ngc -p tsconfig.app.json --noEmit as a separate step in your build script to keep full type safety:

{
  "scripts": {
    "build": "ngc -p tsconfig.app.json --noEmit && vite build"
  }
}

The fast compile path currently passes ~91% of Angular's conformance suite. Behavior and output may change between minor releases.

Vendor Sourcemaps…

Description from the npm listing.

  • vite
  • vitest
  • vite-plugin
  • angular

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@analogjs/vite-plugin-angular weekly downloads on npm, last 90 days: 1,020,469 weekly downloads as of Dec 5, 2026, +122% over 90 days.@analogjs/vite-plugin-angularWeekly downloads on npm · Last 90 days1,020,469downloads / week+122% over 90 days0200K400K600K800K1M1.2MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@analogjs/vite-plugin-angular weekly downloads on npm, last 90 days: 1,020,469 weekly downloads as of Dec 5, 2026, +122% over 90 days.

7/30/90-day growth

@analogjs/vite-plugin-angular weekly downloads growth on npm: +8.8% over 7 days, +12.4% over 30 days, +122% over 90 days.@analogjs/vite-plugin-angularWeekly downloads growth on npm1,020,469downloads / week now7-day growth+82,123 weekly downloads+8.8%30-day growth+112,294 weekly downloads+12.4%90-day growth+561,415 weekly downloads+122%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@analogjs/vite-plugin-angular weekly downloads growth on npm: +8.8% over 7 days, +12.4% over 30 days, +122% over 90 days.

Ranking history

@analogjs/vite-plugin-angular npm ranking history: currently #290 (by weekly downloads).@analogjs/vite-plugin-angularnpm ranking · by weekly downloads · Last 90 days#290current rank#280#285#290#295#300Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@analogjs/vite-plugin-angular npm ranking history: currently #290 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 15, #10 (overall #290)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 2, #16 (overall #36)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @analogjs/vite-plugin-angular
Date (UTC)Weekly downloadsChange vs. previous
1,020,469+3.7K
1,016,814+9.7K
1,007,163+31.1K
976,113+21.8K
954,286+28.7K
925,606+490
925,116-13.2K
938,346-4K
942,332-19.9K
962,280-32.3K
994,544-21.9K
1,016,427-4.2K
1,020,656-2.1K
1,022,742—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@analogjs/vite-plugin-angular. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.