only change the line length
Closed this issue · 2 comments
croucha commented
@terinjokes, is it possible to setup the uglify options for this to only control max line length? No, condensing, minification, etc. Only the max line length. I tried the options below but it still mush's everything together. I think I need someway to tell it not to remove whitespace or carriage returns?
uglifyJsOptions: {
mangle: false,
compress: false
},
terinjokes commented
I think you can get closer to what you want with:
var uglifyJSOptions = {
mangle: false,
compress: false,
output: {
beautify: true
}
};
croucha commented
You rock homey! This is what I did and it worked great:
uglifyJsOptionsLineLengthCutNonMinified: {
mangle: false,
compress: false,
output: {
beautify: true,
max_line_len: 7000
}
}