Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hazcod/cloudflare-workers-svelte

Example repository for running a sveltejs/sveltekit website on Cloudflare Workers.
https://github.com/hazcod/cloudflare-workers-svelte

Last synced: about 2 months ago
JSON representation

Example repository for running a sveltejs/sveltekit website on Cloudflare Workers.

Awesome Lists containing this project

README

        

# cloudflare-workers-svelte

Example repository on how to run a SvelteJS (SvelteKit) website on Cloudflare Workers.

## Overview

- `src/`: the SvelteJS source code which consists of HTML, TypeScript and Sass.
- `lib/`: the SvelteJS library files which indicate shared code.
- `static/`: any public assets such as images.
- `.cloudflare/`: the automatically generated Cloudflare Worker assets (from `npm install`), do not edit.
- `.eslintrc.cjs`: the ESLint configuration for the TypeScript files.
- `Makefile`: the file which builds the SvelteJS website.
- `svelte.config.js`: the SvelteJS configuration file.
- `tsconfig.json`: the TypeScript configuration file.
- `wrangler.toml`: the wrangler/miniflare configuration file to run locally or deploy to Cloudflare Workers.

## Usage

```shell
% make install dev
```