interlockjs / interlock

JS bundler - inspired by Git, built on Babel.
MIT License
72 stars 7 forks source link

Add `transformInput` to Pluggables #40

Closed divmain closed 8 years ago

divmain commented 9 years ago

New pattern for defining plugins should be:

return function (override, transform, transformInput) {
  transformInput("readSource", args => {
    // ...
    return args;
  });
};
divmain commented 8 years ago

This doesn't appear to be necessary. Closing and will revisit if the value becomes more apparent.