vite ne nado

This commit is contained in:
dasha 2023-04-10 15:40:13 +04:00
parent aeeeec6e21
commit e2a29f4b65
2 changed files with 4 additions and 12 deletions

View File

@ -15,16 +15,15 @@
"react-router-dom": "^6.4.4" "react-router-dom": "^6.4.4"
}, },
"scripts": { "scripts": {
"start": "vite --port 3000", "start": "parcel --port 3000",
"build": "npm run clean && vite build", "build": "npm run clean && parcel build",
"clean": "rimraf dist" "clean": "rimraf dist"
}, },
"devDependencies": { "devDependencies": {
"buffer": "^5.7.1", "buffer": "^5.7.1",
"parcel": "2.8.3",
"process": "^0.11.10", "process": "^0.11.10",
"rimraf": "4.4.0", "rimraf": "4.4.0"
"vite": "^3.2.3",
"@vitejs/plugin-react": "^2.2.0"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [

View File

@ -1,7 +0,0 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()]
})