cloudflare / cloudflare/vinext

Lightweight worker for static exports

Open
#566 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
8.8k
Forks
406
Avg merge
2d 6h
Merged PRs (30d)
120

Description

At present, static exports currently include a full worker that is capable of doing the heavy lifting you would normally have with an app.

This should either be stripped back to a minimal worker that only handles things like image optimisation and/or middleware, or removed altogether.

We should ensure that we support running static exports without the cloudflare vite plugin as part of this.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how static exports create and invoke the worker, then inspect the Cloudflare Vite plugin integration. Define whether the worker should be reduced to image optimisation and middleware or removed, and verify that static exports run without the plugin.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
build-system, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.