Skip to content

Commit 0a048e8

Browse files
MarArMarntsd
authored andcommitted
Update README.md with cloudflare example
Great project ! I thought of an example to add in the readme
1 parent 81fb3a5 commit 0a048e8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ export default {
4949

5050
- `pages` (string): Specifies the build path. This should be the same as the adapter static pages.
5151
- `minifierOptions` (object): Custom options for [html-minifier-terser](https://github.com/terser/html-minifier-terser#options-quick-reference).
52+
53+
Example: for @sveltejs/adapter-cloudflare, you probably want to specify this modified build path:
54+
```js
55+
{
56+
pages: '.svelte-kit/cloudflare',
57+
}
58+
```

0 commit comments

Comments
 (0)