11ty / 11ty/eleventy-plugin-bundle
Add bucket name as prefix of the bundle filename
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 83
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
A project in which I use this plugin currently generates two JavaScript bundles, for two buckets:
C5F5JJJEjF.jsNfTCyKwx5R.js
I would like to include only one of them in my Service Worker precaching, but the filename doesn't really help configuring the Service Worker build with a glob (I'm using Workbox).
It would be great if the bundle filename could include the bucket name as bucket-name_hash.js, which in my current use case would be:
decap-cms_C5F5JJJEjF.jsnot-critical_NfTCyKwx5R.js
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating where the plugin generates bundle filenames and how bucket names and hashes are available there. Done means generated filenames use the bucket-name_hash.js format without breaking the existing bundles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100