cljs-lambda icon indicating copy to clipboard operation
cljs-lambda copied to clipboard

Look into deferring all require() calls to the handler body

Open moea opened this issue 8 years ago • 0 comments

Something like this in the none/simple templates:

{{#module}}
{{#function}}
exports.{{export}} = function(event, ctx, cb) {
  goog.require("{{name}}");
  {{js-name}}(event, ctx, cb);
}
{{/function}}
{{/module}}

moea avatar Jun 06 '17 20:06 moea