eleventy-plugin-bundle icon indicating copy to clipboard operation
eleventy-plugin-bundle copied to clipboard

Little bundles of code, little bundles of joy.

Results 25 eleventy-plugin-bundle issues
Sort by recently updated
recently updated
newest added

I seem to have stumbled into some confusing behavior that I'm seeing when using `getBundle` and/or `getBundleFileUrl` specifically within a `.11ty.js` layout used by multiple templates. I've created a repo...

Currently, the only way to add code to a bundle is by rendering it through a template. This works fine for simple cases, but it limits the usefulness of bundles,...

enhancement

### Operating system macOS Sonoma 14.2.1 (23C71) ### Eleventy 2.0.2-alpha.2 ### Describe the bug I'm using Eleventy Serverless in dynamic template rendering mode to render previews of the site before...

If you run getBundle output through a minifier before the transform gets to it, it will get removed! Specifically this quick tip: https://www.11ty.dev/docs/quicktips/inline-css/#capture-and-minify ```html {% set css %} {% include...

bug
education

A project in which I use this plugin currently generates two JavaScript bundles, for two buckets: - `C5F5JJJEjF.js` - `NfTCyKwx5R.js` I would like to include only one of them in...

enhancement

Hi! I am really enjoying these little bundles of joy. I'm rebuilding a site and wanted to take advantage of this plugin. I have some one-off layouts for which the...

I'm trying to use [Lightning CSS](https://lightningcss.dev/) to transform CSS files but it fails with: ```sh Eleventy:cmd command: eleventy { _: [], quiet: null, version: false, watch: false, dryrun: false, help:...

I'm loving this plugin! I was working on a little site where some pages had some non-essential Javascript that I put at the end of the body. I set up...

enhancement

It appears that trying to bundle css from a nunjucks macro file using getBundleFileUrl results in a fatal error. Here is the stacktrace (`` substituted for actual pc path): ```...

ab.webc: ```html import { LitElement } from 'lit'; customElements.define('a-b', class extends LitElement {}); ``` cd.webc: ```html import { LitElement } from 'lit'; customElements.define('c-d', class extends LitElement {}); ``` index.webc: ```html...