cloudflare / cloudflare/pages-plugins
Local pages graphql plugin dev fails with framework
Open
- Dominant language
- TypeScript
- Stars
- 62
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
When doing local development using a framework (e.g. `wrangler pages dev -- next dev`), the GraphQL plugin fails to compile with the below error:
```
../node_modules/@cloudflare/pages-plugin-graphql/index.js:2:26: ERROR: Do not know how to load
path:
assets:/myproject/node_modules/@cloudflare/pages-plugin-graphql/static
```
This line seeming to be the problem: `import { onRequest } from "assets:./static";`
Contributor guide
Assessment
This issue has not been assessed yet.