"Fixed" the build script by using a known working version. Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
19 lines
356 B
JavaScript
19 lines
356 B
JavaScript
const through = require( 'through' );
|
|
|
|
module.exports = function () {
|
|
let data = '( function ( $ ) {\n\t$.uls = $.uls || {};\n\t$.uls.data = ';
|
|
|
|
const write = function ( buf ) {
|
|
data += buf;
|
|
return data;
|
|
};
|
|
|
|
const end = function () {
|
|
data += '\n} ( jQuery ) );';
|
|
this.queue( data );
|
|
this.queue( null );
|
|
};
|
|
|
|
return through( write, end );
|
|
};
|