Lightlines
By grafana

plugin-bundle-size

grafana3.6k installs

Smaller Grafana plugins that load pages on demand.

What it does

Reduces Grafana plugin entry bundles by moving feature code into chunks that load on demand.

When to use it

Use when reducing Grafana app plugin bundle size, improving initial loading, or implementing code splitting and lazy loading.

How to use it

Give it an existing Grafana plugin to optimise; it updates the project with lazy-loading boundaries and verifies the resulting bundles.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: GitHub

Latest review

What you need · 2

Requires React ≥ 16.6 and esModuleInterop: true in tsconfig for React.lazy.

Requires a Grafana instance in which to open and test the running plugin.


Access · 3

This skill

GitHub

Write

Posts bundle comparisons on pull requests (irreversible)

npm registry

Read

Checks the published create-plugin version