Web Toolchain
Elide includes native-speed web tooling powered by best-in-class Rust libraries:
- JS/TS: OXC (Oxidation Compiler) for TypeScript transpilation
- CSS: LightningCSS for compilation and optimization (coming soon as CLI)
- Packages: Orogene for npm-compatible dependency installation (coming soon)
What works today
Run JavaScript and TypeScript files directly — TypeScript is transpiled automatically via OXC:
> elide run app.js
> elide run script.tsSupported extensions: .js, .mjs, .cjs, .ts, .mts, .cts.
Serve static files over HTTP:
> elide serve ./distStart a development server with live reload:
> elide dev ./srcelide dev automatically injects a live-reload script into HTML pages and refreshes the browser when files change.
Commands
| Command | Description | Status |
|---|---|---|
elide run | Run JavaScript and TypeScript files | Available |
elide serve | Serve static files over HTTP | Available |
elide dev | Development server with live reload | Available |
elide install | Install NPM dependencies | Planned |
elide build | Build and optimize web assets (CSS, HTML, JS, images) | Planned |
Sub-pages
JavaScript & TypeScript →
Run JS/TS files with elide run. TypeScript is transpiled automatically via OXC.
Styling (CSS) →
CSS compilation and optimization via LightningCSS (coming soon as a standalone command).
Markdown →
Markdown rendering to HTML (coming soon as a standalone command).
Media →
Image optimization and format conversion (coming soon as a standalone command).
NPM Installer →
NPM dependency resolution via Orogene (coming soon).