webpack-mjml-loader
JSON →A webpack loader that compiles MJML email templates into HTML strings at build time. Current stable version is 2.0.1 (released March 2025), targeting webpack 5 exclusively. For webpack 4, use v1.1.0. MJML is a peer dependency, allowing you to choose any MJML v4+ version. Key differentiators: forwards all MJML options (like minification) via loader options, outputs HTML as a default export string, and ships TypeScript definitions. Compared to other MJML loaders, this one is simple, well-maintained, and explicitly designed for webpack 5.
Traffic · last 30 days ↓29% vs prev 7d
total hits 30
actors 8 distinct systems
last hit 1d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany · BD
Resources
API endpoints
full doc /v1/registry/webpack-mjml-loader
compatibility /v1/registry/webpack-mjml-loader/compatibility