chore: version packages#2293
Conversation
2ed4cd2 to
14ba67f
Compare
|
Today's release includes a revamped When you run Cloudflare builds no longer need the custom worker file that used to be generated for applications. You can now point your wrangler config to target a vinext-managed fetch handler that takes care of the generic entry under-the-hood. {
"$schema": "node_modules/wrangler/config-schema.json",
"main": "vinext/server/fetch-handler",
}When removing the custom worker, you can configure your image optimisation provider and prerendering config in your Vite config. import vinext from "vinext";
import { imagesOptimizer } from "@vinext/cloudflare/images/images-optimizer";
vinext({
images: { optimizer: imagesOptimizer() },
// exclude the prerender config altogether if you do not need prerendering.
prerender: {
// only '*' is supported at the moment, more configurability will come in future releases.
routes: '*'
},
}); |
2a5fe36 to
c55f260
Compare
1de054c to
07908d1
Compare
07908d1 to
d86b55d
Compare
commit: |
|
Performance benchmarksCompared 1 improved · 1 regressed · 4 within ±1.5%
View detailed results and traces 🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head |
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@vinext/cloudflare@0.2.0
Features
Contributors
vinext@0.2.0
Features
Bug Fixes
App Router
Build
Pages
Pages Router
Misc
Performance
Contributors