unplugin-typegpu
Version:
Build plugins for TypeGPU, enabling seamless JavaScript -> WGSL transpilation and improved debugging.
14 lines (13 loc) • 396 B
text/typescript
import { n as PluginState } from "./common-CmJ77T6N.cjs";
import { NodePath } from "@babel/traverse";
import * as t from "@babel/types";
//#region src/babel.d.ts
declare function TypeGPUPlugin(): {
name: string;
pre(this: PluginState): void;
visitor: {
Program(this: PluginState, path: NodePath<t.Program>, state: PluginState): void;
};
};
//#endregion
export { TypeGPUPlugin as t };