Skip to content

Publish the widget bundle to npm for neutral origin CDN embeds #5

Description

@stepuplaw

The npm package currently ships the library. Some site owners will not load a script from a law firm's domain, and jsDelivr mirrors npm automatically, so publishing the widget bundle in the package gives embedders a version pinned, neutral origin URL, cdn.jsdelivr.net/npm/elder-fraud-toolkit@x.y.z/dist/widget.js.

The work is a build step producing the IIFE widget bundle into dist/, wired into the files list and documented in the README embed section.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions