13 lines
276 B
JavaScript
13 lines
276 B
JavaScript
|
const browserify = require("browserify");
|
||
|
|
||
|
const b = browserify();
|
||
|
|
||
|
b.add("./test/fixtures/tape-standalone.js");
|
||
|
b.transform("global-replaceify", {
|
||
|
global: true,
|
||
|
replacements: {
|
||
|
setImmediate: "require('timers').setImmediate",
|
||
|
},
|
||
|
});
|
||
|
b.bundle().pipe(process.stdout);
|