At the time of writing support for native browser modules was just starting to show up. It most definitely hasn't reached the Chrome Extensions side of things.

Right now, I'm not sure if it's supported (it might be), although bear in mind that a different HTML parser is used for websites and extensions.

If you give it a go and it works, let me know :D

--

--

Front-end ReactJS Developer — https://aggelos.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store