H5-contact/node_modules/@dcloudio/uni-cli-shared/dist/preprocess/index.d.ts

17 lines
1.0 KiB
TypeScript

export { initPreContext } from './context';
export interface PreprocessOptions {
unbalanced?: 'error' | 'skip' | 'skip-lazy';
}
export declare function preJs(jsCode: string, filename: string, options?: PreprocessOptions): any;
export declare function preHtml(htmlCode: string, filename: string, options?: PreprocessOptions): any;
export declare const preCss: typeof preJs;
export declare const preJson: typeof preJs;
export declare function preNVueJs(jsCode: string, filename: string, options?: PreprocessOptions): any;
export declare function preNVueHtml(htmlCode: string, filename: string, options?: PreprocessOptions): any;
export declare const preNVueCss: typeof preNVueJs;
export declare const preNVueJson: typeof preNVueJs;
export declare function preUVueJs(jsCode: string, filename: string, options?: PreprocessOptions): any;
export declare function preUVueHtml(htmlCode: string, filename: string, options?: PreprocessOptions): any;
export declare const preUVueCss: typeof preUVueJs;
export declare const preUVueJson: typeof preUVueJs;