README
browserify-swap
swap/swäp/ - an act of exchanging one thing for another
A transform that swaps out modules according to a config in your package.json
selected via an environment variable.
package.json
{
"browserify": {
"transform": [ "browserify-swap" ]
},
"browserify-swap": {
"@packages": [ "hyperwatch" ],
"dev": {
".*node_modules\/hyperwatch\/\\S+\\.js