From e2a29f4b65c9f2b526d95015b6ea7eb75822468e Mon Sep 17 00:00:00 2001 From: dasha Date: Mon, 10 Apr 2023 15:40:13 +0400 Subject: [PATCH] vite ne nado --- front/package.json | 9 ++++----- front/vite.config.js | 7 ------- 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 front/vite.config.js diff --git a/front/package.json b/front/package.json index c910843..7139740 100644 --- a/front/package.json +++ b/front/package.json @@ -15,16 +15,15 @@ "react-router-dom": "^6.4.4" }, "scripts": { - "start": "vite --port 3000", - "build": "npm run clean && vite build", + "start": "parcel --port 3000", + "build": "npm run clean && parcel build", "clean": "rimraf dist" }, "devDependencies": { "buffer": "^5.7.1", + "parcel": "2.8.3", "process": "^0.11.10", - "rimraf": "4.4.0", - "vite": "^3.2.3", - "@vitejs/plugin-react": "^2.2.0" + "rimraf": "4.4.0" }, "eslintConfig": { "extends": [ diff --git a/front/vite.config.js b/front/vite.config.js deleted file mode 100644 index ae55400..0000000 --- a/front/vite.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [react()] -}) \ No newline at end of file