jstransformers / jstransformer

Normalize the API of any JSTransformer.
http://npm.im/jstransformer
MIT License
153 stars 12 forks source link

Common API across all Transforms #84

Open RobLoach opened 8 years ago

RobLoach commented 8 years ago

There has been the adoption of options.plugins in a couple of the transforms, which allows the loading of additional functionality. What other standards could we introduce?

Thoughts on some of the following?

Others?

tunnckoCore commented 8 years ago

options.includes seems better to me, others :+1:

RobLoach commented 8 years ago

options.includes isn't really explicit in definition. It could be an array of locals, or even partials. It's not really explicit with what it actually means. I was following the following definition: https://github.com/sass/node-sass#includepaths