Open mAAdhaTTah opened 8 years ago
Sure. Submit a PR if you like, or I'll do it when I get a chance.
On Mon, Aug 15, 2016 at 1:41 PM, James DiGioia notifications@github.com wrote:
The usage of fs to simply read README.md https://github.com/aceface/crayon/blob/master/crayon.js#L364 into a variable makes it difficult to use this module in browser. Is this line necessary? Removing it would make it easier to consume this library with webpack/browserify without additional configuration.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aceface/crayon/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AADdj2FCTGqHj3T89cpVTI-Qx4uodlHbks5qgM7pgaJpZM4Jkv_O .
The usage of
fs
to simply readREADME.md
into a variable makes it difficult to use this module in browser. Is this line necessary? Removing it would make it easier to consume this library with webpack/browserify without additional configuration.