injectr icon indicating copy to clipboard operation
injectr copied to clipboard

Finally, a solution to node.js dependency injection

Results 5 injectr issues
Sort by recently updated
recently updated
newest added

This adds the functionality for injectr to be configured to transpile using babel. related to #23

I have `injectr.onload` set up to run files through babel like so: ``` javascript injectr.onload = (file, content) => { return require('babel').transform(content, { filename: file, optional: ['runtime', 'es7.classProperties', 'es7.objectRestSpread'] }).code;...

According to the [node.js manual](http://nodejs.org/docs/v0.6.9/api/modules.html): > The module.require method provides a way to load a module as if require() was called from the original module. > > Note that in...