Skip to content

Commit 656f084

Browse files
committed
docs: format Builder-to-Vite section with deno fmt
1 parent 5b7917c commit 656f084

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/latest/advanced/vite.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ Any `builder.registerIsland("jsr:@scope/pkg/Island.tsx")` calls become
150150
### 3. Add a `client.ts` entry
151151

152152
The Builder discovered CSS by scanning `static/`. Vite needs CSS to be part of
153-
the module graph so it can hash, bundle, and hot-reload it. Move your
154-
stylesheet out of `static/` and import it from a new `client.ts` file:
153+
the module graph so it can hash, bundle, and hot-reload it. Move your stylesheet
154+
out of `static/` and import it from a new `client.ts` file:
155155

156156
```diff Project structure
157157
<project root>
@@ -220,8 +220,8 @@ deno task start # deno serve -A _fresh/server.js
220220
```
221221

222222
The output layout under `_fresh/` is the same as the Builder produced, so
223-
deployment configuration (Deno Deploy, Docker, `deno compile`) does not need
224-
to change.
223+
deployment configuration (Deno Deploy, Docker, `deno compile`) does not need to
224+
change.
225225

226226
### Checklist
227227

@@ -234,8 +234,8 @@ to change.
234234
- [ ] Tailwind (if used) switched to `@tailwindcss/vite`
235235

236236
> [info]: If you get stuck, run `deno run -Ar jsr:@fresh/init` in a scratch
237-
> directory and diff the generated project against yours — the generator is
238-
> the source of truth for a working Vite-based Fresh setup.
237+
> directory and diff the generated project against yours — the generator is the
238+
> source of truth for a working Vite-based Fresh setup.
239239
240240
## Debugging
241241

0 commit comments

Comments
 (0)