I am looking to use 3rd party js libraries like Chart.js in my chrome extension.
Chart.js provides two options for leveraging the library
- Via CDN (there are issues regarding Manifest v3 security policy)
- Via NPM (I also don’t think this is supported)
I’ve also seen some hacky workarounds like sandboxing the page but this would remove access to the chrome extension api which my extension heavily leverages.
What can be done?