Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psmyrdek/astro-5-cf-repro
https://github.com/psmyrdek/astro-5-cf-repro
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/psmyrdek/astro-5-cf-repro
- Owner: psmyrdek
- Created: 2025-01-01T11:03:29.000Z (24 days ago)
- Default Branch: master
- Last Pushed: 2025-01-01T11:12:22.000Z (24 days ago)
- Last Synced: 2025-01-01T12:20:59.522Z (24 days ago)
- Language: Astro
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro Starter Kit: Basics
Reproducing the issue with Cloudflare Adapter & npm workspaces.
## How to
1. `npm install`
2. `npm run dev:acf`
3. Open http://localhost:3000 - notice issue with @it-astro:when## Example workaround
1. `npm run fix` (see fix/rewrite-deps.js)
## Using workspaces
```json
"scripts": {
"dev:acf": "npm run dev --workspace=projects/astro-on-cloudflare",
"build:acf": "npm run build --workspace=projects/astro-on-cloudflare",
"preview:acf": "npm run preview --workspace=projects/astro-on-cloudflare",
"astro:acf": "npm run astro --workspace=projects/astro-on-cloudflare"
},
```