mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Merge branch 'main' into JubaAzul/issue202
This commit is contained in:
commit
23ba586b44
3 changed files with 11 additions and 8 deletions
11
client/package-lock.json
generated
11
client/package-lock.json
generated
|
|
@ -51,7 +51,7 @@
|
||||||
"@types/react-latex": "^2.0.3",
|
"@types/react-latex": "^2.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
||||||
"@typescript-eslint/parser": "^8.5.0",
|
"@typescript-eslint/parser": "^8.5.0",
|
||||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
||||||
"eslint": "^9.18.0",
|
"eslint": "^9.18.0",
|
||||||
"eslint-plugin-react": "^7.37.3",
|
"eslint-plugin-react": "^7.37.3",
|
||||||
"eslint-plugin-react-hooks": "^5.1.0-rc-206df66e-20240912",
|
"eslint-plugin-react-hooks": "^5.1.0-rc-206df66e-20240912",
|
||||||
|
|
@ -4947,16 +4947,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vitejs/plugin-react-swc": {
|
"node_modules/@vitejs/plugin-react-swc": {
|
||||||
"version": "3.7.1",
|
"version": "3.7.2",
|
||||||
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.2.tgz",
|
||||||
"integrity": "sha512-vgWOY0i1EROUK0Ctg1hwhtC3SdcDjZcdit4Ups4aPkDcB1jYhmo+RMYWY87cmXMhvtD5uf8lV89j2w16vkdSVg==",
|
"integrity": "sha512-y0byko2b2tSVVf5Gpng1eEhX1OvPC7x8yns1Fx8jDzlJp4LS6CMkCPfLw47cjyoMrshQDoQw4qcgjsU9VvlCew==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@swc/core": "^1.7.26"
|
"@swc/core": "^1.7.26"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vite": "^4 || ^5"
|
"vite": "^4 || ^5 || ^6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/abab": {
|
"node_modules/abab": {
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
"@types/react-latex": "^2.0.3",
|
"@types/react-latex": "^2.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
||||||
"@typescript-eslint/parser": "^8.5.0",
|
"@typescript-eslint/parser": "^8.5.0",
|
||||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
||||||
"eslint": "^9.18.0",
|
"eslint": "^9.18.0",
|
||||||
"eslint-plugin-react": "^7.37.3",
|
"eslint-plugin-react": "^7.37.3",
|
||||||
"eslint-plugin-react-hooks": "^5.1.0-rc-206df66e-20240912",
|
"eslint-plugin-react-hooks": "^5.1.0-rc-206df66e-20240912",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ import react from '@vitejs/plugin-react-swc';
|
||||||
import pluginChecker from 'vite-plugin-checker';
|
import pluginChecker from 'vite-plugin-checker';
|
||||||
import EnvironmentPlugin from 'vite-plugin-environment';
|
import EnvironmentPlugin from 'vite-plugin-environment';
|
||||||
|
|
||||||
|
console.log("⚡ Vite config is being loaded!");
|
||||||
|
|
||||||
// Filter out environment variables with invalid identifiers
|
// Filter out environment variables with invalid identifiers
|
||||||
const filteredEnv = Object.keys(process.env).reduce((acc, key) => {
|
const filteredEnv = Object.keys(process.env).reduce((acc, key) => {
|
||||||
// Only include environment variables with valid JavaScript identifiers
|
// Only include environment variables with valid JavaScript identifiers
|
||||||
|
|
@ -27,13 +29,15 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
preview: {
|
preview: {
|
||||||
port: 5173,
|
port: 5173,
|
||||||
strictPort: true
|
strictPort: true,
|
||||||
|
allowedHosts: ['frontend', 'localhost'],
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 5173,
|
port: 5173,
|
||||||
strictPort: true,
|
strictPort: true,
|
||||||
host: true,
|
host: true,
|
||||||
origin: "http://0.0.0.0:5173",
|
origin: "http://0.0.0.0:5173",
|
||||||
|
allowedHosts: ['frontend', 'localhost'],
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true, // Enable source maps
|
sourcemap: true, // Enable source maps
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue