If I enable sourcemaps in vite then there are no sourcemaps for certain files like background.js and there are a bunch of warnings:
rendering chunks (1)...Sourcemap is likely to be incorrect: a plugin (chrome-extension) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
rendering chunks (3)...Sourcemap is likely to be incorrect: a plugin (chrome-extension) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (chrome-extension) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
...
If I enable sourcemaps in vite then there are no sourcemaps for certain files like
background.js
and there are a bunch of warnings: