fireproof-storage / fireproof-storage/fireproof

Build for Fireproof Packages on CDNJS

Open
#632 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
973
Forks
58
PR merge metrics
No merged PRs in 30d

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:

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.