All files / tasks/util umdWrapper.ts

50% Statements 1/2
100% Branches 0/0
0% Functions 0/1
50% Lines 1/2
1 2 3 4 5 6 7 8 9 10 11 1242x                      
export = function(content: string): string {
	return `(function (root, factory) {
if (typeof define === 'function' && define.amd) {
	define([], function () { return (factory()); });
} else if (typeof module === 'object' && module.exports) {
	module.exports = factory();
}
}(this, function () {
	return ${content};
}));`;
};