Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 325 Bytes

File metadata and controls

17 lines (13 loc) · 325 Bytes

runtime-compiler

A code generation system for JS.

Modes

  • default: Build & run.
  • build: Build only.
  • hydrate: Run only.
import { isHydrating, onlyBuild } from 'runtime-compiler/config';

// Whether the process is in `hydrate` mode
isHydrating;

// Whether the process is in `build` mode
onlyBuild;