morjs-plugin-compiler-xhs
Version:
mor compiler plugin for xiaohongshu miniprogram
32 lines (31 loc) • 1.12 kB
TypeScript
export declare const target = "xhs";
export declare const targetDescription = "\u5C0F\u7EA2\u4E66\u5C0F\u7A0B\u5E8F";
export declare const fileType: {
readonly template: ".xhsml";
readonly style: ".css";
readonly config: ".json";
readonly script: ".js";
readonly sjs: ".sjs";
};
export declare const globalObject = "xhs";
export declare const resolveMainFields: string[];
export declare const defaultConditionalFileExt = ".xhs";
export declare const sjsTagName = "sjs";
export declare const sjsSrcAttrName = "src";
export declare const sjsModuleAttrName = "module";
export declare const isSupportSjsContent = true;
export declare const defaultOutputDir = "dist/xhs";
export declare const compileModuleKind: "CommonJS";
export declare const compileScriptTarget: "ES5";
export declare const projectConfigFiles: string[];
export declare const supportGlobalComponents = true;
export declare const templateSingleTagNames: any[];
export declare const templateDirectives: {
if: string;
elseIf: string;
else: string;
for: string;
forItem: string;
forIndex: string;
key: string;
};