+ gulp-uglify module;
This commit is contained in:
1 parent
b2f213a7e1
commit
c1e160d779
385 files changed
+33155
-1
No files matched your search
+9
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user