solid-start-cloudflare-workers
v0.3.11
Published
## This package is deprecated see [@solidjs/start](https://www.npmjs.com/package/@solidjs/start)
Downloads
594
Readme
start-cloudflare-workers
This package is deprecated see @solidjs/start
Adapter for Solid apps that work on Cloudflare Workers.
This is very experimental; the adapter API isn't at all fleshed out, and things will definitely change.
Configuration
This adapter expects to find a wrangler.toml file in the project root. It will determine where to write static assets and the worker based on the site.bucket
settings.
Generate this file using wrangler
from your project directory
$ wrangler init
Then configure your sites build directory in the config file:
main = "./dist/server.js"
[site]
bucket= "./dist/public"
More info on configuring a cloudflare worker site can be found here