Eric Foster d5378345de connection between front end and database | 6 gadus atpakaļ | |
---|---|---|
.. | ||
index.js | 6 gadus atpakaļ | |
package.json | 6 gadus atpakaļ | |
readme.md | 6 gadus atpakaļ |
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
}