How I built a browser extension in 2021 (using modern tools and libraries)

Recently, I started working on my first browser extension for Firefox and Chrome. With this blog post I want to share my experience building a web extension with modern tools and frameworks in 2021. Therefore, this is not a guide on how to build a browser extension, but rather contains some useful information and tips I gathered while developing the extension.
goto
:
- The scope of my extension
- What’s up with this
manifest.json
? - using modern building tools
- The
browser
API - some helpful tips - Use your favourite frontend-stack
- Ready for the stage? How to publish your extension
- Conclusion