Hi, I have excluded the following files:
wp-content/plugins/pdf-embed/build/view.js
wp-content/plugins/pdf-embed/build/index.js
I am not 100% if this are all files, but at least the plugin is working both in backend and frontend. I still have console errors in developer tools, but not sure if this is about this plugin or because of other issues.