This project shows a minimun reproducible error for crxjs/chrome-extension-tools#751
This is the current config
export default defineConfig({
plugins: [
react(),
createHtmlPlugin({ inject: { data: { title: "Vite React App" } } }), // comment this line in order solve the issue
crx({ manifest }),
],
});