Add source map

This commit is contained in:
Jeremie Pardou-Piquemal 2022-09-03 12:26:47 +02:00 committed by Jérémie Pardou-Piquemal
parent 92f0735b38
commit 50f9cc12eb
2 changed files with 7 additions and 1 deletions

View file

@ -221,7 +221,10 @@ export const OpenViduProvider = ({
});
const token = await getToken(room);
await newSession.connect(token, getUserData());
const userData = getUserData();
console.log(token, userData);
await newSession.connect(token, userData);
setLocalStream(
new LocalStream({ session: newSession, OV: OVRef.current })

View file

@ -68,5 +68,8 @@ export default defineConfig({
reactRefresh(),
analyze({ summaryOnly: true, hideDeps: true, limit: 20 }),
],
build: {
sourcemap: "inline",
},
...proxy,
});