Skip to content

Commit c326941

Browse files
committed
test: add swc vite
1 parent 68e73c8 commit c326941

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

package-lock.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"@types/react-is": "^17.0.3",
8181
"@types/uuid": "^9.0.4",
8282
"@vitejs/plugin-react": "^4.2.0",
83+
"@vitejs/plugin-react-swc": "^3.8.0",
8384
"css-loader": "^5.2.6",
8485
"eslint": "^8.49.0",
8586
"final-form": "^4.20.2",

playwright/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
/* eslint-disable import/no-extraneous-dependencies */
12
import {resolve} from 'path';
23

34
import type {PlaywrightTestConfig} from '@playwright/experimental-ct-react';
45
import {defineConfig, devices} from '@playwright/experimental-ct-react';
5-
import react from '@vitejs/plugin-react';
6+
import react from '@vitejs/plugin-react-swc';
67

78
function pathFromRoot(p: string) {
89
return resolve(__dirname, '../', p);

0 commit comments

Comments
 (0)