st-bundle
Version:
CLI for watching and bundling SpringType projects.
18 lines (17 loc) • 531 B
TypeScript
import * as meriyah from 'meriyah';
import { IWebWorkerItem } from '../../analysis/fastAnalysis';
export declare function parseAst(contents: string, options?: {
loc: boolean;
}): meriyah.ESTree.Program;
export interface IFastTransformProps {
sourceMaps?: boolean;
input: string;
absPath?: string;
ast?: any;
webWorkers?: Array<IWebWorkerItem>;
sourceInterceptor?: (source: string) => string;
}
export declare function fastTransform(opts: IFastTransformProps): {
code: string;
sourceMap: any;
};