slightning-coco-widget--webpack
Version:
SLIGHTNING 的 CoCo 控件框架 —— webpack 相关工具。
18 lines (17 loc) • 883 B
TypeScript
import * as t from "@babel/types";
export type Bypass = {
replace?: string | null | undefined;
importSource?: string | null | undefined;
};
export type BypassMap = Record<string, Bypass>;
export declare const BYPASS_MAP: BypassMap;
export declare const BYPASS_FULL_KEY_WORDS: string[];
export declare function includesFullKeyWords(value: string): boolean;
export declare const BYPASS_KEY_WORDS: string[];
export declare function includesKeyWords(value: string): boolean;
export declare function replaceKeyWordsInString(value: string): string;
export declare function bypassAddImport(source: string): string;
export declare function ASTBypassAddImport(AST: t.File): void;
export declare function bypassKeyWordsCheck(source: string): string;
export declare function ASTBypassKeyWordsCheck(AST: t.File): void;
export declare function bypassRestrictions(source: string): string;