|
|
8 年前 | |
|---|---|---|
| .. | ||
| index.js | 8 年前 | |
| package.json | 8 年前 | |
| readme.md | 8 年前 | |
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
}