UNPKG

@midwayjs/view-ejs

Version:

Midway Component for ejs render

21 lines 872 B
declare const _default: (appInfo: any) => { /** * @member Config#ejs * @property {String} [root=${appDir}/view] - the root directory of ejs files * @property {Boolean} [cache=true] - compiled functions are cached, only work using `ctx.render` * @property {Boolean} [debug=false] - output generated function body * @property {Boolean} [compileDebug=true] - when false no debug instrumentation is compiled * @property {String} [delimiter] - character to use with angle brackets for open/close * @property {Boolean} [strict=false] - when set to true, generated function is in strict mode */ ejs: { root: string; cache: boolean; debug: boolean; compileDebug: boolean; delimiter: any; strict: boolean; }; }; export default _default; //# sourceMappingURL=config.default.d.ts.map