Open
Description
We need to determine the optimal CDNJS distribution approach for our packages, especially considering script tag users and Claude's environment limitations.
Current Challenges:
-
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
- CDN paths like
-
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
Labels
No labels