This commit is contained in:
Simon Priet
2021-09-05 22:53:58 +02:00
commit 9e2991e668
17888 changed files with 1263126 additions and 0 deletions

19
node_modules/labeled-stream-splicer/example/bundle.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
var splicer = require('../');
var through = require('through2');
var deps = require('module-deps');
var pack = require('browser-pack');
var pipeline = splicer.obj([
'deps', [ deps() ],
'pack', [ pack({ raw: true }) ]
]);
pipeline.get('deps').push(through.obj(function (row, enc, next) {
row.source = row.source.toUpperCase();
this.push(row);
next();
}));
pipeline.pipe(process.stdout);
pipeline.end(__dirname + '/browser/main.js');