Commit 3517c618 authored by boojack's avatar boojack

chore: update `vite`

parent 2e126c71
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"@types/react-dom": "^18.0.4", "@types/react-dom": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0", "@typescript-eslint/parser": "^5.6.0",
"@vitejs/plugin-react": "^1.0.0", "@vitejs/plugin-react": "^2.0.0",
"autoprefixer": "^10.4.2", "autoprefixer": "^10.4.2",
"eslint": "^8.4.1", "eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
...@@ -35,6 +35,6 @@ ...@@ -35,6 +35,6 @@
"prettier": "2.5.1", "prettier": "2.5.1",
"tailwindcss": "^3.0.18", "tailwindcss": "^3.0.18",
"typescript": "^4.3.2", "typescript": "^4.3.2",
"vite": "^2.9.0" "vite": "^3.0.0"
} }
} }
...@@ -7,6 +7,7 @@ export default defineConfig({ ...@@ -7,6 +7,7 @@ export default defineConfig({
plugins: [react()], plugins: [react()],
server: { server: {
cors: true, cors: true,
port: 3000,
proxy: { proxy: {
"/api": { "/api": {
target: "http://localhost:8080/", target: "http://localhost:8080/",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment