Try replacing webpack with vite or another esbuild based bundler.
Also look into automatically reading all content script paths from the src directory and bundling them to separate dist/content scripts.
Maybe it's even possible to write the result to manifest.json 🤯 We could define the path regex in the content.ts files.
Try replacing webpack with vite or another esbuild based bundler. Also look into automatically reading all content script paths from the
src
directory and bundling them to separatedist/content
scripts. Maybe it's even possible to write the result tomanifest.json
🤯 We could define the path regex in thecontent.ts
files.