You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
In 1.2.4, it looks like the default behavior of output.comments changed from false to /^\**!|@preserve|@license|@cc_on/ if extractComments is disabled (which is the default case).
Yes it is expected, we should respect copyright and licenses of other developers. Also itry to read all license in you application, perhaps some of them are not in MIT and other you should provide license. Otherwise, you violate the license and the law. Therefore, the behavior has been changed.
You your known all you licenses and understand that they can be removed, use the options
uglifyOptions: {
output: {
comments: false
}
}
Also you can use extractComments: true it is extract comment to separable file. Thanks!
In 1.2.4, it looks like the default behavior of
output.comments
changed fromfalse
to/^\**!|@preserve|@license|@cc_on/
ifextractComments
is disabled (which is the default case).This seems to be a result of: #250.
Was this intentional? For large files, the new default behavior has quite a large negative impact on speed and memory usage.
The text was updated successfully, but these errors were encountered: