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 28, 2021. It is now read-only.
Also referencing: debug-js/debug#547, we noted that our debug entries were logging colors instead of the variables defined:
log-entry: HLS source: color: #33CC99 +7ms
Per @ibc's comment, we updated our webpack to utilize TerserPlugin as follows:
module.exports = {
....
optimization: {
minimizer: [new TerserPlugin()] //overrides UglifyJsPlugin which was causing issues with debug in production
},
We currently have the updated build in QA for testing prior to deploying, but it appears to have resolved the issue, below is a sample of the same debug entry after the build:
We're slightly concerned about the migration to a new minifier and how it could impact other functionality, so it would be nice if debug works with the default UglifyJSPlugin in the future to mitigate issues.
minify tools like uglify, babel-minify would cause console output lost some argument.
ref: debug-js/debug#547
The text was updated successfully, but these errors were encountered: