Browse Source

make it so browserify example is not closing automatically

pull/39/head
mattdesl 6 years ago
parent
commit
866ec5b65f
  1. 1
      example/browserify.js
  2. 2
      package.json

1
example/browserify.js

@ -14,7 +14,6 @@ function run () {
if (err) throw err;
console.profileEnd('build');
console.log('bundle size in bytes:', src.length);
if (process.env.NODE_ENV !== 'development') window.close();
});
}

2
package.json

@ -52,7 +52,7 @@
"example:http": "./bin/index.js example/http -w --break",
"example:geolocate": "./bin/index.js example/geolocate.js -qch",
"example:es2015": "./bin/index.js example/es2015.js -w -i example/es2015.html",
"example:browserify": "./bin/index.js example/browserify.js -qch",
"example:browserify": "./bin/index.js example/browserify.js",
"example:streetview": "./bin/index.js example/streetview.js -h -i example/streetview.html -q --bf > example/streetview.png",
"example:tape-browser": "browserify example/tape-browser.js | ./bin/index.js -c -t 1000 | faucet"
},

Loading…
Cancel
Save