babel-plugin-static-fs icon indicating copy to clipboard operation
babel-plugin-static-fs copied to clipboard

Remove `path` if unused in scope?

Open mattdesl opened this issue 9 years ago • 0 comments

Not sure if this is dangerous. The path module does not have any side-effects that I know of, so we could remove it entirely from the program when the only usage has been stripped out. This would significantly reduce bundle size in browserify if you aren't already requiring path/process/etc. However, it might introduce an unexpected change for the end user.

mattdesl avatar Jan 11 '16 21:01 mattdesl