stitch
stitch copied to clipboard
Option to produce only the set of definitions
It would be nice if there was an option to export only the set of definitions. For example, to produce something like:
{
"foo": function(exports, require, module) { … },
"foo/bar": function(exports, require, module) { … },
…
}
Which can then be wrapped in whatever header/footer is appropriate (ex, so AMD-compatible code can be produced).