Closed cordovapolymer closed 7 years ago
Was this a browserify build or a react-native build? What version of browserify are you using and what are the configuration options that were passed in?
@RangerMauve , I tried building with browserify 14.1.0 and 14.3.0, I'm using it with https://github.com/arian/partition-bundle, here's the build script:
build.js
var browserify = require('browserify');
var b = browserify(['./lib/main', './lib/other']);
b.transform({
global: true
}, 'uglifyify');
var output = './scripts/';
b.plugin('partition-bundle', { map: './lib/bundle.json', output: output, main: './main' });
bundle.json
{
"/scripts/main.js": ["./main"],
"/scripts/other.js": ["./other"]
}
I've released readable-stream 2.2.9. Can you please check if it solves the problem?
@mcollina , yes it's resolved thank you!
this.once is not a function after browserify build of 4.0.0, it was ok in prior versions