jstransformers / jstransformer-function

Function support for JSTransformers.
http://npm.im/jstransformer-function
MIT License
0 stars 0 forks source link

Set inputFormats #3

Open TimothyGu opened 8 years ago

tunnckoCore commented 8 years ago

And what should it be? It gets the name as the only inputFormat by default. or im wrong?

TimothyGu commented 8 years ago

yes it does but I believe that javascript or js should also be an input format.

ForbesLindesay commented 8 years ago

Yes, js should be the input format.

RobLoach commented 8 years ago

I'm concerned about input format conflicts. While all Markdown engines should be md, I'm not sure all .js should be processed as a single function like this. For instance, it could be a .js file with module.exports, etc.

Where are the other uses of inputFormats? metalsmith-jstransformer uses inputformat-to-jstransformer to find how files should be processed.