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