Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 348 Bytes

readme.md

File metadata and controls

23 lines (16 loc) · 348 Bytes

inline-process-browser

Browserify transform which turns any reference to process.browser into true.

Can remove non-browser code when combined with unreachable-branch-transform

turns

if (process.browser) {
  //something
}

into

if (true) {
  //something
}