Initial commit
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"browserify": {
|
||||
"transform": [ "./xxx.js" ]
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
console.log(XXX * 3)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
var through = require('through2');
|
||||
|
||||
module.exports = function (file) {
|
||||
return through(function (buf, enc, next) {
|
||||
this.push(String(buf).replace(/XXX/g, '111'));
|
||||
next();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user