Fix: Add chromium-bidi dependency and externalize Playwright to resolve module loading errors
This commit is contained in:
@@ -4,7 +4,13 @@ import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
export default defineConfig({
|
||||
main: {},
|
||||
main: {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ['playwright', 'playwright-core']
|
||||
}
|
||||
}
|
||||
},
|
||||
preload: {},
|
||||
renderer: {
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user