Skip to content

Commit

Permalink
Remove deprecated plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alpaca-tc committed Jun 7, 2024
1 parent be62889 commit 62cc66b
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 38 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/react-svg-pan-zoom": "^3.3.9",
"@types/react-svg-pan-zoom-loader": "^1.5.0",
"@types/styled-components": "^5.1.34",
"@vitejs/plugin-react-refresh": "^1.3.6",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^9.4.0",
"eslint-config-smarthr": "^6.32.0",
Expand Down
91 changes: 56 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join, resolve } from 'path';

import reactRefresh from "@vitejs/plugin-react-refresh";
import react from "@vitejs/plugin-react";
import reactSwc from '@vitejs/plugin-react-swc';
import { defineConfig } from 'vite';

Expand All @@ -9,7 +9,7 @@ import { defineConfig } from 'vite';
/** @type {import('vite').UserConfig} */
export default defineConfig({
root: 'frontend',
plugins: [reactSwc(), reactRefresh()],
plugins: [reactSwc(), react()],

test: {
include: ['**/__tests__/*.test.{ts,tsx}']
Expand Down

0 comments on commit 62cc66b

Please sign in to comment.