ect icon indicating copy to clipboard operation
ect copied to clipboard

CommonJS modularize output

Open brian-c opened this issue 11 years ago • 0 comments

It'd be really really great to be able to do ect --commonjs template.ect > template.js and then be able to require('./template'); and get a function.

I bet folks who use AMD would be into an --amd flag, too.

Would such a pull request be accepted?

brian-c avatar Apr 16 '14 16:04 brian-c