jpsp91 07dd8af64f root page set | 6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
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
}