Opal-Estate-Pro/node_modules/gulp-uglify/lib/create-error.js
2019-09-13 11:27:52 +07:00

13 lines
290 B
JavaScript
Executable File

'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;