build: install and configure Vite, move index.html

This commit is contained in:
Daniel D Orlando 2023-04-01 12:58:49 -07:00
parent 78dabe55ae
commit 6498ab79a4
7 changed files with 2271 additions and 11 deletions

View file

@ -2,9 +2,11 @@
"name": "chatgpt-clone",
"version": "0.2.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"build": "webpack",
"build": "vite build",
"dev": "vite",
"preview-prod": "vite preview",
"build-dev": "Webpack . --watch"
},
"repository": {