format: apply repo prettier (3.8.1) to the folded skills tree

963 markdown files reformatted with the repository's pinned prettier so
pnpm format:check covers the folded tree like every other repo file.

The formatter's embedded-language pass also normalized code fences
(TS semicolons, closed HTML tags in examples, lowercased CSS hex colors,
one renumbered list that skipped an index). Alphanumeric token deltas vs
the fold commit were audited file-by-file; all are formatter-equivalent
markup normalizations plus the four sanitized skills.
This commit is contained in:
fargo
2026-08-19 14:37:17 -05:00
parent d2eeb64433
commit 1a822493ba
962 changed files with 29594 additions and 27188 deletions
@@ -21,15 +21,15 @@ For SPA/MPA, nothing changes—options apply to the implicit `client` environmen
export default defineConfig({
build: { sourcemap: false },
optimizeDeps: { include: ['lib'] },
})
});
```
## Multiple Environments
```ts
export default defineConfig({
build: { sourcemap: false }, // Inherited by all environments
optimizeDeps: { include: ['lib'] }, // Client only
build: { sourcemap: false }, // Inherited by all environments
optimizeDeps: { include: ['lib'] }, // Client only
environments: {
// SSR environment
server: {},
@@ -38,7 +38,7 @@ export default defineConfig({
resolve: { noExternal: true },
},
},
})
});
```
Environments inherit top-level config. Some options (like `optimizeDeps`) only apply to `client` by default.
@@ -47,12 +47,12 @@ Environments inherit top-level config. Some options (like `optimizeDeps`) only a
```ts
interface EnvironmentOptions {
define?: Record<string, any>
resolve?: EnvironmentResolveOptions
optimizeDeps: DepOptimizationOptions
consumer?: 'client' | 'server'
dev: DevOptions
build: BuildOptions
define?: Record<string, any>;
resolve?: EnvironmentResolveOptions;
optimizeDeps: DepOptimizationOptions;
consumer?: 'client' | 'server';
dev: DevOptions;
build: BuildOptions;
}
```
@@ -61,7 +61,7 @@ interface EnvironmentOptions {
Runtime providers can define custom environments:
```ts
import { customEnvironment } from 'vite-environment-provider'
import { customEnvironment } from 'vite-environment-provider';
export default defineConfig({
environments: {
@@ -69,7 +69,7 @@ export default defineConfig({
build: { outDir: '/dist/ssr' },
}),
},
})
});
```
Example: Cloudflare's Vite plugin runs code in `workerd` runtime during development.