Files
2026-02-21 10:33:18 +01:00

13 lines
412 B
TypeScript

import type { transform, TransformOptions } from 'esbuild';
type Implementation = {
transform: typeof transform;
};
type Except<ObjectType, Properties> = {
[Key in keyof ObjectType as Key extends Properties ? never : Key]: ObjectType[Key];
};
export type LoaderOptions = Except<TransformOptions, 'sourcemap' | 'sourcefile'> & {
implementation: Implementation;
remotionRoot: string;
};
export {};