mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Enable source maps for Vite (frontend) to help debugging in the browser.
This commit is contained in:
parent
8be2efbe48
commit
123c49662f
2 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ const ManageRoom: React.FC = () => {
|
|||
setQuiz(quiz as QuizType);
|
||||
|
||||
if (!socket) {
|
||||
console.log(`no socket in ManageRoom, creating one.`);
|
||||
createWebSocketRoom();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,7 @@ export default defineConfig({
|
|||
host: true,
|
||||
origin: "http://0.0.0.0:5173",
|
||||
},
|
||||
build: {
|
||||
sourcemap: true, // Enable source maps
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue