This makes jstransformer work when built using Browserify and used in the browser.
The caveat, of course, is that things that rely on fs.readFile and fs.readFileSync will fail... if you're using jstransformer in the browser, you won't be using that, of course.
This makes jstransformer work when built using Browserify and used in the browser.
The caveat, of course, is that things that rely on
fs.readFile
andfs.readFileSync
will fail... if you're using jstransformer in the browser, you won't be using that, of course.