Closed gnimmelf closed 10 years ago
what do you mean? you have to use the JS API to use your own plugins
Yup, I'm missing vital parts of the picture here :'(
Guess I need to see a 101 tutorial.
Ok, I see now (bloody hard to google 'component' by the way). I was expecting a way to add preprocess hooks in the components themselves, e.g a component.json
{"builder": "builder.js"}
setting, and then just run component build
... but I see now that the local builders have to be run individually and manually (e.g. makefiles). Dah, no wonder I had a hard time, blinded by my own assumption of elegance ;-)
yeah that was my goal, but i think at that point it just gets too complicated
Oh ok, too bad. Will keep my fingers crossed =) Thanks.
FWIW, I made a simple preprocessor for component, https://www.npmjs.org/package/component-preprocessor
Rephrase: How does custom builders get called during
component build
?