Eric Foster 35b96bc934 initial commit | 6 年之前 | |
---|---|---|
.. | ||
index.js | 6 年之前 | |
package.json | 6 年之前 | |
readme.md | 6 年之前 |
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
}