esbuild-plugin-time
Contents of the docs

esbuild-plugin-time · Docs

Installation

Install esbuild-plugin-time via npm, requirements and dependencies.

On this page

You only need the plugin at build time, so add it as a dev dependency.

Install the package

npm i -D esbuild-plugin-time

The plugin does not ship esbuild. If it is missing:

npm i -D esbuild

Requirements

What Version Why
Node.js with ESM The package is pure ESM
esbuild with plugin API Tested with 0.28; uses onStart and onEnd

The only dependency is chalk 4 for the colours.

Note

The package has a single default export. Write your build script as .mjs or set "type": "module" in your package.json.