mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 11:11:23 +00:00
Few more build fixes
This commit is contained in:
@@ -469,7 +469,6 @@ export default class Explorer {
|
||||
|
||||
private async generateConversationToken() {
|
||||
if (!userContext.databaseAccount || !userContext.databaseAccount.id) {
|
||||
console.error("Database account undefined");
|
||||
return;
|
||||
}
|
||||
const url = `${configContext.JUNO_ENDPOINT}/api/chatbot/bot${userContext.databaseAccount.id}/conversationToken`;
|
||||
|
||||
@@ -246,8 +246,8 @@ module.exports = function (_env = {}, argv = {}) {
|
||||
// These options increase our initial bundle size by ~5% but the builds are significantly faster and won't run out of memory
|
||||
compress: true,
|
||||
mangle: {
|
||||
keep_fnames: true,
|
||||
keep_classnames: true,
|
||||
keep_fnames: false,
|
||||
keep_classnames: false,
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user