8000 Build for Fireproof Packages on CDNJS · Issue #632 · fireproof-storage/fireproof · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build for Fireproof Packages on CDNJS #632
Open
@jchris

Description

@jchris

We need to determine the optimal CDNJS distribution approach for our packages, especially considering script tag users and Claude's environment limitations.

Current Challenges:

  1. Package Import Path Resolution

    • CDN paths like https://cdnjs.cloudflare.com/ajax/libs/angular/19.0.6/core.umd.min.js don't align with import statements using @fireproof/core
    • Import statements in use-fireproof won't automatically resolve to correct CDN paths
  2. Claude Environment Constraints

    • Claude can only load libraries from cdnjs
    • Direct artifact URLs must be provided with specific versions (no "latest" redirects)
    • Script tag redirects don't appear to work in Claude's environment

Potential Solution:

Focus on the CDNJS-specific distribution with URL pattern:
https://cdnjs.cloudflare.com/ajax/libs/use-fireproof/0.20.0/indexeddb.umd.min.js

Next Steps

  • Evaluate build configuration changes needed for CDNJS-optimized bundles
  • Put the versioned CDN URL into our LLMS.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0