Kibana 8.14.3 plugin build failure breaks Kibana

Two part problem. Trying to be brief.

Part 1 - Plugin build error
Plugin works fine in dev environment.

Here's the yarn error - it seems that the outdated caniuse-lite is causing the problem. I've tried npx update-browserslist-db@latest from the plugin directory but it has no effect. This is blocking my plugin build.

Part 2 - Kibana plugin install/removal breaks Kibana
When building the plugin, I didn't immediately notice the caniuse-lite error that apparently stopped processing but not the plugin build process (see related issue on error handling here). I installed the plugin into a running Kibana server and it failed (as you may expect). However, after removing the plugin (attempting to use /bin/kibana-plugin remove and just removing the plugin folder separately) and restarting Kibana, the UI is failing because it's still looking for the missing .js from my plugin (that was removed). Now I have a downed Kibana server until I can fix the problem, plugin, or reinstall. Tested in two browsers after cache-clearing and so on.

Do we know of a way to "clean up" plugins or to bump the optimizer to see the removal?

UPDATE: I was able to figure out the first problem. I needed to update caniuse-lite from the main kibana directory instead of in my plugin directory. This freed me up to build my plugin.

I'd still appreciate any insight on "clean up" for Kibana plugins.