esbuild-plugin-pug

JSON →
library 0.0.8 ·javascript
verified May 1, 2026

An esbuild plugin that enables importing .pug and .jade templates directly in JavaScript/TypeScript builds. Current version is 0.0.8, with infrequent releases. Unlike generic loaders, it wraps the full Pug compiler, supporting all Pug features (includes, mixins, interpolation) and returns compiled HTML strings. Use with esbuild for server-side rendering or static site generation without a separate build step.

total hits 7
actors 2 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇧🇷 Brazil