twig-html-loader

JSON →
library 0.1.9 ·javascript maintenance
verified May 27, 2026

Webpack loader that compiles Twig templates into an HTML string using Twig.js. Version 0.1.9 is the latest stable release (last updated 2019). It integrates with webpack to process .twig files, supports data injection, caching, namespaces, and custom Twig extensions (functions, filters, tests, tags). Compared to alternatives like twig-loader, it returns raw HTML string rather than a compiled template function, which simplifies usage with html-webpack-plugin. Requires raw-loader as a peer dependency. Low maintenance cadence (no updates since 2019).

total hits 17
actors 6 distinct systems
last hit 23h ago AhrefsBot
GPTBot
5
MetaBot
4
Script
1
Search engines
1
Humans
2

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