Skip to main content

@nessframework/analyzer

Generates machine-readable JSON and human-readable HTML bundle reports. A size budget can fail builds that grow beyond an expected limit.

ness add analyzer --dev
ness.config.mjs
import analyzer from '@nessframework/analyzer';
import { defineNessConfig } from '@nessframework/router';
import { ness } from '@nessframework/router/vite';

export default defineNessConfig({
vite: {
plugins: [ness({ plugins: [analyzer({ maxSize: 750_000 })] })],
},
});

Production builds emit ness-bundle-report.json and ness-bundle-report.html.