browserify
browserify copied to clipboard
browser-side require() the node.js way
I have this test case (based on #1171, available here: https://github.com/marcello3d/tmp-browserify-fail/tree/other-failure) where I create `bundle1`, require+expose `./foo.js` (with basedir `__dirname/js`), and it generates the wrong thing: ``` js var browserify...
#### Was just using browserify to transpile an Angular project #### I followed this link initially to get this done: - https://www.typescriptlang.org/docs/handbook/gulp.html #### Expected results: #### Angular app would start...
Browserify currently uses [`events@^2.0.0`](https://github.com/browserify/browserify/blob/cfd3af23f6383bb5899dbb5e39beb7834b042d85/package.json#L41), but `events` has an updated version [`3.0.0`](https://github.com/Gozala/events/releases/tag/v3.0.0) to support the introduction of the [`off()`](https://nodejs.org/api/events.html#events_emitter_off_eventname_listener) method introduced in Node v10. Is there a way to override the...
I was running the the example given in Browserify repo (example/api/build.js), and made some twist to it: ``` javascript var browserify = require('../..'); var b = browserify(); b.add('./browser/main.js'); b.add('./browser/foo.js'); //...
If a bundled module has a `sourceMappingURL` directive, browserify will leave it intact, which appears to be worthless or harmful towards getting source maps to work properly in browsers. Ideally,...
Configuring transforms via the `browserify.transform` field in package.json is lovely. It's a great way to configure browserify once regardless where/how browserify is executed (manually or via npm script or other)....
Lately I've been doing some profiling with [node-webkit-agent](http://c4milo.github.io/node-webkit-agent/) to see where the bundle time is spent on watchify rebundle. It tends to get fairly slow in large projects (current app...
… to remove npm audit security warngings; updating tests to use Buffer.from() where appropriate to remove deprecation warnings in tests Fixes #1900.
Fix up code so NPM audit doesn't trigger alerts & clean up tests that used deprecated Buffer calls
Version 16.2.3 of browserify reports 15 vulnerabilities, 14 moderate and 1 high. I have traced all of these back to two devDependencies and 3 of the unit tests. The dev...
I am programatically generating a bundle: ``` var browserify = require('browserify'), bundle = browserify({ insertGlobalVars: false, detectGlobals: true, browserField: false, bare: true, builtins: false, commondir: true }); bundle.require('crypto-browserify', { expose:...