When enabling Autoptimize for wordpress site, there might be some error messages in console.
Although this just appear when user is logged in, we might be unhappy when seeing this.
To solve this problem, we could exclude Backbone.js and underscore.js from autoptimize.
We could add
, backbone.min.js, underscore.min.js into
Exclude scripts from Autoptimize. It is under
And that’s it! Enjoy your clean console. 🙂