wishthis/node_modules/gulp-uglify/lib/create-error.js
2022-01-21 09:28:41 +01:00

12 lines
290 B
JavaScript

'use strict';
var GulpUglifyError = require('./gulp-uglify-error');
function createError(file, msg, cause) {
var perr = new GulpUglifyError(msg, cause);
perr.plugin = 'gulp-uglify';
perr.fileName = file.path;
perr.showStack = false;
return perr;
}
module.exports = createError;