pug-loader

JSON →
library 2.4.0 ·javascript
verified May 27, 2026

Webpack loader for Pug (formerly Jade) templates, version 2.4.0. Compiles Pug templates to JavaScript template functions at build time. Works with webpack module bundler, supports embedded resources via require(), and can render HTML at compile time using apply-loader. Supports both .pug and legacy .jade files. Options map directly to Pug options. Requires pug ^2.0.0 as a peer dependency. A key differentiator is automatic resolution of includes and inheritance via webpack's module resolution.

total hits 19
actors 8 distinct systems
last hit 19h ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇳🇴 Norway · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany