typegpu
Version:
A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.
10 lines (9 loc) • 410 B
TypeScript
/**
* This can be used to branch functionality between "dev" and "prod" modes, so that our
* library can omit doing unnecessary work once it's out in the wild
*
* Even though the value of this constant uses Node.js specific APIs, pretty much every
* bundler replaces the expression below with either `development` or `production`
*/
export declare const DEV: boolean;
export declare const TEST: boolean;