Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

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

Open
moea opened this issue Jun 6, 2017 · 0 comments
Open

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

moea opened this issue Jun 6, 2017 · 0 comments

Comments

@moea
Copy link
Member

moea commented Jun 6, 2017

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}}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant