{"library":"webpack-mjml-loader","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","webpack","webpack-loader","mjml","mjml4","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-mjml-loader","imports":["import template from './email.mjml'","module.exports = { module: { rules: [ { test: /\\.mjml$/, use: 'webpack-mjml-loader' } ] } }","import template from './email.mjml'"]},{"cmd":"yarn add webpack-mjml-loader","imports":[]},{"cmd":"pnpm add webpack-mjml-loader","imports":[]}],"homepage":null,"github":"https://github.com/BlitzBanana/webpack-mjml-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-mjml-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webpack-mjml-loader/compatibility"}}