Matt DesLauriers

Results 224 comments of Matt DesLauriers

@zertosh that looks awesome.. will do some testing

@zertosh Any chance of that being merged into browser-pack? How can we help move it along? Just more testing?

It seems like [clone](https://github.com/pvorb/node-clone/blob/51a79bbb0b1b781503cf2497ab1ea083bfaba49f/clone.js#L65-L68) would not work if it doesn't include Buffer. Since this is app-specific, maybe it's better to keep it as an optimizing step at the application level....

I don't think you can really expect modules authors to set a flag in all their package.json files just to optimize away a few kb's in browserify apps, especially considering...

Idea: a global transform that statically analyzes typical node Buffer.isBuffer patterns and transforms them to false. Sent from my iPhone > On Sep 16, 2015, at 6:38 PM, Feross Aboukhadijeh...

If the condition is statically analyzable, it could be turned `false` and then something like uglifyify or [unreachable-branch-transform](https://github.com/zertosh/unreachable-branch-transform) could be used to strip the code from final bundle.

Try the --node flag. :) Sent from my iPhone > On Jan 18, 2016, at 6:48 PM, Alex Indigo [email protected] wrote: > > @substack is there a way to completely...

I have thought about this as well. It introduces some complexities, though, because of all the ways that people can have global modules installed. For example, beefy uses [find-global-packages](https://www.npmjs.com/package/find-global-packages) but...

Ah, this is probably something the docs could explain a bit more. Using global install is a quick and easy way of testing a CLI, but it has some drawbacks:...

More recently I'm starting to want a feature like this. The use case is allowing globally-installed tools like [hihat](https://github.com/Jam3/hihat) to accept global transforms/plugins. Similar to how it's common to install...