build(deps): update dependency vite to v3 (#3703)
* build(deps): update dependency vite to v3 * fix(web): adjust vite v3 server settings * build(deps): update dependency @vitejs/plugin-react to v2 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Amir Zarrinkafsh <nightah@me.com>pull/3728/head
parent
082c96626e
commit
fb3db60c7d
|
@ -1,8 +1,7 @@
|
|||
VITE_HMR_PORT=8080
|
||||
VITE_LOGO_OVERRIDE=false
|
||||
VITE_PUBLIC_URL=""
|
||||
VITE_DUO_SELF_ENROLLMENT=true
|
||||
VITE_REMEMBER_ME=true
|
||||
VITE_RESET_PASSWORD=true
|
||||
VITE_RESET_PASSWORD_CUSTOM_URL=""
|
||||
VITE_THEME=light
|
||||
VITE_THEME=light
|
||||
|
|
|
@ -4,4 +4,4 @@ VITE_DUO_SELF_ENROLLMENT={{.DuoSelfEnrollment}}
|
|||
VITE_REMEMBER_ME={{.RememberMe}}
|
||||
VITE_RESET_PASSWORD={{.ResetPassword}}
|
||||
VITE_RESET_PASSWORD_CUSTOM_URL={{.ResetPasswordCustomURL}}
|
||||
VITE_THEME={{.Theme}}
|
||||
VITE_THEME={{.Theme}}
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
"@types/zxcvbn": "4.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "5.30.7",
|
||||
"@typescript-eslint/parser": "5.30.7",
|
||||
"@vitejs/plugin-react": "1.3.2",
|
||||
"@vitejs/plugin-react": "2.0.0",
|
||||
"esbuild": "0.14.49",
|
||||
"esbuild-jest": "0.5.0",
|
||||
"eslint": "8.20.0",
|
||||
|
@ -175,7 +175,7 @@
|
|||
"prettier": "2.7.1",
|
||||
"react-test-renderer": "18.2.0",
|
||||
"typescript": "4.7.4",
|
||||
"vite": "2.9.14",
|
||||
"vite": "3.0.0",
|
||||
"vite-plugin-eslint": "1.7.0",
|
||||
"vite-plugin-istanbul": "2.9.0",
|
||||
"vite-plugin-svgr": "2.2.0",
|
||||
|
|
2746
web/pnpm-lock.yaml
2746
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -55,10 +55,8 @@ export default defineConfig(({ mode }) => {
|
|||
},
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
open: false,
|
||||
hmr: {
|
||||
clientPort: env.VITE_HMR_PORT || 3000,
|
||||
},
|
||||
},
|
||||
plugins: [eslintPlugin({ cache: false }), htmlPlugin(), istanbulPlugin, react(), svgr(), tsconfigPaths()],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue