{"library":"eleventy-plugin-smol-jsx-bundler","type":"library","category":null,"description":"eleventy-plugin-smol-jsx-bundler is an Eleventy plugin designed to bring robust bundling capabilities to projects leveraging JSX, React, Preact, or MDX. It currently stands at version 1.2.9 and provides a lightweight, pure JavaScript approach to managing CSS, JavaScript, or HTML bundles within an Eleventy site, conceptually mirroring Eleventy's built-in bundler but with direct support for JSX syntax. This plugin allows developers to embed bundle content directly within JSX or MDX components using functions like `bundle()`, `getBundle()`, and `getBundleFile()`, offering an integrated workflow for modern frontend development within Eleventy. Its key differentiators include enabling easily unit-testable JSX files, greater extensibility, and features like deduplication of bundle content. It also supports post-processing of bundles with external tools such as PostCSS, providing flexibility for complex build pipelines. While it doesn't specify a strict release cadence, its 1.x versioning suggests a stable API and active maintenance.","language":"javascript","status":"active","version":"1.2.9","tags":["javascript","eleventy","plugin","bundler","jsx","react","preact","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eleventy-plugin-smol-jsx-bundler","imports":["import jsxBundle from 'eleventy-plugin-smol-jsx-bundler';","import { bundle } from 'eleventy-plugin-smol-jsx-bundler';","import { getBundle } from 'eleventy-plugin-smol-jsx-bundler';","import { getBundleFile } from 'eleventy-plugin-smol-jsx-bundler';"]},{"cmd":"yarn add eleventy-plugin-smol-jsx-bundler","imports":[]},{"cmd":"pnpm add eleventy-plugin-smol-jsx-bundler","imports":[]}],"homepage":"https://gitlab.com/kobaj/eleventy-plugin-smol-jsx-bundler#readme","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eleventy-plugin-smol-jsx-bundler","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/eleventy-plugin-smol-jsx-bundler/compatibility"}}