Issue started after updating to Chrome 130.0.6723.70 (Windows),
extension pages like sidepanel.html, and popup.html show flashing Vite Dev Mode page in server/dev mode (yarn dev)
My vite.config.js:
import { defineConfig } from 'vite'
import { crx } from '@crxjs/vite-plugin'
import react from '@vitejs/plugin-react'
import manifest from './src/manifest.js'
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
return {
build: {
emptyOutDir: true,
outDir: 'build',
rollupOptions: {
output: {
chunkFileNames: 'assets/chunk-[hash].js',
},
},
},
server: {
port: 5000,
watch: {
includes: [
'./src/background/index.js',
'./public/script.js',
]
},
},
plugins: [crx({ manifest }), react()],
}
})
Issue started after updating to Chrome 130.0.6723.70 (Windows),
extension pages like sidepanel.html, and popup.html show flashing Vite Dev Mode page in server/dev mode (
yarn dev)My
vite.config.js: