migrate vite
Showing
index.html
0 → 100644
This diff is collapsed.
... | @@ -22,8 +22,9 @@ | ... | @@ -22,8 +22,9 @@ |
"web-vitals": "^2.1.4" | "web-vitals": "^2.1.4" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"start": "react-scripts start", | "dev": "vite", | ||
"build": "react-scripts build", | "build": "tsc && vite build", | ||
"preview": "vite preview", | |||
"test": "react-scripts test", | "test": "react-scripts test", | ||
"eject": "react-scripts eject" | "eject": "react-scripts eject" | ||
}, | }, | ||
... | @@ -47,6 +48,8 @@ | ... | @@ -47,6 +48,8 @@ |
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@types/google-protobuf": "^3.15.6", | "@types/google-protobuf": "^3.15.6", | ||
"@types/three": "^0.144.0" | "@types/three": "^0.144.0", | ||
"@vitejs/plugin-react": "^2.1.0", | |||
"vite": "^3.1.0" | |||
} | } | ||
} | } |
File moved
vite.config.ts
0 → 100644
Please register or sign in to comment