Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>GlobalPassOption

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface GlobalPassOption
import { type GlobalPassOption } from "https://deno.land/x/live@1.60.0/deps.ts";

Options for inline-global pass.

Properties

optional
vars: { [key: string]: string; }

Global variables.

e.g. { __DEBUG__: true }

optional
envs: string[]

Name of environment variables to inline.

Defaults to ["NODE_ENV", "SWC_ENV"]