mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Compare commits
No commits in common. "fd5db0559d2e17126408c9f48ecfdbc3e373537d" and "763f606712cc65ed732ad15fb51750dd79fc02ed" have entirely different histories.
fd5db0559d
...
763f606712
3 changed files with 78 additions and 140 deletions
210
client/package-lock.json
generated
210
client/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -55,7 +55,7 @@
|
|||
"@types/react-latex": "^2.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
||||
"@typescript-eslint/parser": "^8.5.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.2",
|
||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
||||
"eslint": "^9.18.0",
|
||||
"eslint-plugin-react": "^7.37.3",
|
||||
"eslint-plugin-react-hooks": "^5.1.0-rc-206df66e-20240912",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ import react from '@vitejs/plugin-react-swc';
|
|||
import pluginChecker from 'vite-plugin-checker';
|
||||
import EnvironmentPlugin from 'vite-plugin-environment';
|
||||
|
||||
console.log("⚡ Vite config is being loaded!");
|
||||
|
||||
// Filter out environment variables with invalid identifiers
|
||||
const filteredEnv = Object.keys(process.env).reduce((acc, key) => {
|
||||
// Only include environment variables with valid JavaScript identifiers
|
||||
|
|
@ -29,15 +27,13 @@ export default defineConfig({
|
|||
},
|
||||
preview: {
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
allowedHosts: ['frontend', 'localhost'],
|
||||
strictPort: true
|
||||
},
|
||||
server: {
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
host: true,
|
||||
origin: "http://0.0.0.0:5173",
|
||||
allowedHosts: ['frontend', 'localhost'],
|
||||
},
|
||||
build: {
|
||||
sourcemap: true, // Enable source maps
|
||||
|
|
|
|||
Loading…
Reference in a new issue