Eric Foster d5378345de connection between front end and database | hace 6 años | |
---|---|---|
.. | ||
index.js | hace 6 años | |
package.json | hace 6 años | |
readme.md | hace 6 años |
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
}