+ gulp-uglify module;

This commit is contained in:
tmshv committed 2014-03-18 22:50:35 +04:00
1 parent b2f213a7e1
commit c1e160d779
385 files changed
+33155 -1

No files matched your search

@@ -0,0 +1,9 @@
var path = require('path');
module.exports = function(npath, ext) {
if (typeof npath !== 'string') return npath;
if (npath.length === 0) return npath;
var nFileName = path.basename(npath, path.extname(npath))+ext;
return path.join(path.dirname(npath), nFileName);
};