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:

console
> elide run app.js
> elide run script.ts

Supported extensions: .js, .mjs, .cjs, .ts, .mts, .cts.

Serve static files over HTTP:

console
> elide serve ./dist

Start a development server with live reload:

console
> elide dev ./src
Note

elide dev automatically injects a live-reload script into HTML pages and refreshes the browser when files change.

Process scripts and assets for websites, even without an elide.pkl manifest present:

console
> elide web build src/*.ts        # Precompile scripts
> elide web build assets/*.png    # Compress images
> elide web build pages/*.md      # Render markdown into HTML
> elide web build src/*           # Process all known assets, copy the rest

By default, processed assets are written to dist/. This can be changed using the --out flag:

console
> elide web build src/* --out public

Commands

CommandDescriptionStatus
elide runRun JavaScript and TypeScript filesAvailable
elide serveServe static files over HTTPAvailable
elide devDevelopment server with live reloadAvailable
elide installInstall NPM dependenciesPlanned
elide buildBuild and optimize web assets (CSS, HTML, JS, images)Available
elide web buildBuild individual web assets, without needing a project manifestAvailable

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).