Skip to content

Add bucket name as prefix of the bundle filename #21

Description

@nhoizey

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 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.js
  • not-critical_NfTCyKwx5R.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions