Closed ttomdewit closed 7 years ago
My friend @jegtnes took a plunge and looked into my issue and apparently UglifyJS limits line length to 32K characters. This issue has nothing to do with gulp-concat
.
@ttomdewit @_lukewh Aha! Got to the bottom of it. UglifyJS limits the maximum length of a line to 32K characters by default.
@ttomdewit @_lukewh So nothing to do with gulp-concat :) There’s an UglifyJS option to override it—but I’m sure it’s there for a good reason
Hi all,
First of all thank you for creating and maintaining this package, it's been very helpful thus far!
Unfortunately I've been unable to get the following to work with the documentation provided: my current Gulp task collects all my JS files and puts them together with
concat
, thenuglifies
my code. See task:The output is close to what I want. At the moment it's creating a
main.min.js
file as you'd expect, only it creates 3 lines. I'd like it to put everything on 1 line.I searched the issues for
newLine
and didn't find what I was looking for. Any help is greatly appreciated.Other information:
$ npm -v
is at3.10.3
$ node -v
is atv6.7.0
If you need anything else, let me know.