Socket
Socket
Sign inDemoInstall

solid-start-cloudflare-workers

Package Overview
Dependencies
14
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    solid-start-cloudflare-workers

## This package is deprecated see [@solidjs/start](https://www.npmjs.com/package/@solidjs/start)


Version published
Maintainers
1
Created

Readme

Source

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

FAQs

Last updated on 20 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc