From 40dab995d7013ee52e8db401678e000e8552041d Mon Sep 17 00:00:00 2001 From: mitroofann Date: Sun, 12 Nov 2017 20:23:01 +0500 Subject: [PATCH] function "compileBody" exported for external use --- packages/pug/lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pug/lib/index.js b/packages/pug/lib/index.js index a3c8968a5..9f5e0e852 100644 --- a/packages/pug/lib/index.js +++ b/packages/pug/lib/index.js @@ -192,6 +192,7 @@ function compileBody(str, options){ return {body: js, dependencies: dependencies}; } +exports.compileBody = compileBody; /** * Get the template from a string or a file, either compiled on-the-fly or