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
New default of minifying JS assets from third party plugins can cause issues if that triggers Syntax Errors inside one or more third party plugins. As SyntaxErrors cannot be caught, any such issue will effectively nuke the whole packed_plugins.js bundle.
I could, but that would defeat the whole point of bundling the assets together to avoid a flood of requests needed to load the page. And we really want to avoid that as it increases page load times (and server load) significantly.
Problem
New default of minifying JS assets from third party plugins can cause issues if that triggers Syntax Errors inside one or more third party plugins. As SyntaxErrors cannot be caught, any such issue will effectively nuke the whole
packed_plugins.js
bundle.See also Sebclem/OctoPrint-SimpleEmergencyStop#14 and FormerLurker/Octolapse#567
Solution
Disable minification again by default, at least for anything involving third party plugins, as it was prior to 1.4.1.
Note
The old behaviour can be enforced again and thus the above problem avoided by setting
in
config.yaml
.The text was updated successfully, but these errors were encountered: