diff --git a/tasks/js.js b/tasks/js.js index ed2f3a61c..8ccbde045 100644 --- a/tasks/js.js +++ b/tasks/js.js @@ -64,7 +64,9 @@ const jsMin = () => .pipe(gulpif(config.source, sourcemaps.init({ loadMaps: true }))) .pipe(replace(/"rainloop\/v\/([^/]+)\/static\/js\/"/g, '"rainloop/v/$1/static/js/min/"')) .pipe(rename({ suffix: '.min' })) - .pipe(terser()) + .pipe(terser({ + output: {comments: false} + })) .pipe(eol('\n', true)) .pipe(gulpif(config.source, sourcemaps.write('./'))) .pipe(