Scan your whole stack
From OX Research Newsroom
Are you using @analogjs/vite-plugin-angular?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.9.8
@analogjs/vite-plugin-angular was last scanned on 23 Nov 2026 at version 2.9.8. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.9.8 LATEST | 23 Nov 2026 | No rules fired |
| 3.0.0-beta.59 | 23 Nov 2026 | 1 rule fired |
| 3.0.0-beta.58 | 23 Nov 2026 | 1 rule fired |
| 3.0.0-beta.57 | 23 Nov 2026 | Not shown |
| 3.0.0-beta.56 | 23 Nov 2026 | Not shown |
Findings for v2.9.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.9.8; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A Vite plugin for building Angular applications
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
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
angularplugin should be listed first in the plugins array.
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.
The sourcemaps of dependencies and prebuilt libraries are preserved whenever build.sourcemap is enabled.
export default defineConfig({
plugins: [angular()],
build: { sourcemap: true },
});
Expect larger sourcemap files, since they now include the mappings for dependency code. The application bundles are unchanged, and builds without build.sourcemap are unaffected.
Angular's own packages are compiled through a separate path that always discards their sourcemaps, so mappings are not restored for @angular/*.
The integration needs a tsconfig.app.json at the root of the project for compilation.
Create a tsconfig.app.json in the root of the project.
{
"extends": "./tsconfig.json",
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"noEmit": false,
"target": "es2020",
"module": "es2020",
"lib": ["es2020", "dom"],
"skipLibCheck": true
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
},
"files": [],
"include": ["src/**/*.ts"]
} Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.