Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌳 #6

Open
wants to merge 188 commits into
base: main
Choose a base branch
from
Open

🌳 #6

wants to merge 188 commits into from

Conversation

philcockfield
Copy link
Contributor

@philcockfield philcockfield commented Nov 7, 2024

@sys/ui-vitepress

image

deno-vite-vitepress-process-pipeline

Β 


Β 

import { VitePress } from 'jsr:@sys/driver-vitepress';


VitePress.dev( 🌳 );
  ↓ 
VitePress.build( 🌳 );
  ↓ 
VitePress.serve( 🌳 );   // ← bundle

Dev Server (Example Console)

DX: Filesystem watcher and HMR ("hot module replacement").

$ deno run dev

Task dev deno run -RWNE --allow-run --allow-ffi ./scripts/+cmd.dev.ts

  vitepress v1.5.0

  ➜  Local:   http://localhost:1234/
  ➜  Network: use --host to expose

Bundle Output (Example Console)

Transpile to JS and bundle to target runtime (eg. browser, WinterCG, etc).

$ deno run build

Bundle    912 kB (2.1s)
in:       src/-test/vitepress.sample-1
out:      dist/dist.json ← digest:sha256:#00a2
pkg:      @sys/driver-vitepress 0.0.5

Β 

Β 

Β 

---

image


image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant