mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
14 lines
317 B
TypeScript
14 lines
317 B
TypeScript
![]() |
import { defineConfig } from 'vite';
|
||
|
import react from '@vitejs/plugin-react';
|
||
|
import playwrightPlugin from '@playwright/experimental-ct-react/vitePlugin';
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [
|
||
|
react(),
|
||
|
playwrightPlugin({
|
||
|
imports: ['./src/index.css']
|
||
|
}),
|
||
|
]
|
||
|
});
|