Add production dependencies
This commit is contained in:
parent
5a0114f3e2
commit
579ccdc29f
12113 changed files with 978046 additions and 3 deletions
16
node_modules/gulp-uglify/lib/gulp-uglify-error.js
generated
vendored
Normal file
16
node_modules/gulp-uglify/lib/gulp-uglify-error.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
var makeErrorCause = require('make-error-cause');
|
||||
|
||||
var gulpUglifyError = makeErrorCause('GulpUglifyError');
|
||||
gulpUglifyError.prototype.toString = function() {
|
||||
var cause = this.cause || {};
|
||||
|
||||
return (
|
||||
makeErrorCause.BaseError.prototype.toString.call(this) +
|
||||
(this.fileName ? '\nFile: ' + this.fileName : '') +
|
||||
(cause.line ? '\nLine: ' + cause.line : '') +
|
||||
(cause.col ? '\nCol: ' + cause.col : '')
|
||||
);
|
||||
};
|
||||
|
||||
module.exports = gulpUglifyError;
|
Loading…
Add table
Add a link
Reference in a new issue