commit
This commit is contained in:
parent
5d8837809a
commit
af4b235a51
3077
front/package-lock.json
generated
3077
front/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,15 +15,16 @@
|
|||||||
"react-router-dom": "^6.4.4"
|
"react-router-dom": "^6.4.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "parcel --port 3000",
|
"start": "vite --port 3000",
|
||||||
"build": "npm run clean && parcel build",
|
"build": "npm run clean && vite 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": [
|
||||||
|
7
front/vite.config.js
Normal file
7
front/vite.config.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import react from '@vitejs/plugin-react'
|
||||||
|
|
||||||
|
// https://vitejs.dev/config/
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [react()]
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user