diff --git a/hello-world-bot-with-tab/tab/vite.config.ts b/hello-world-bot-with-tab/tab/vite.config.ts index a04f8ee0..f59da272 100644 --- a/hello-world-bot-with-tab/tab/vite.config.ts +++ b/hello-world-bot-with-tab/tab/vite.config.ts @@ -4,11 +4,11 @@ import fs from "fs"; export default defineConfig({ plugins: [react()], + define: { + global: 'globalThis', + }, server: { port: 53000, - define: { - global: 'globalThis', - }, https: { cert: process.env.SSL_CRT_FILE ? fs.readFileSync(process.env.SSL_CRT_FILE) : undefined, key: process.env.SSL_KEY_FILE ? fs.readFileSync(process.env.SSL_KEY_FILE) : undefined, diff --git a/hello-world-teams-tab-and-outlook-add-in/tab/vite.config.ts b/hello-world-teams-tab-and-outlook-add-in/tab/vite.config.ts index a04f8ee0..f59da272 100644 --- a/hello-world-teams-tab-and-outlook-add-in/tab/vite.config.ts +++ b/hello-world-teams-tab-and-outlook-add-in/tab/vite.config.ts @@ -4,11 +4,11 @@ import fs from "fs"; export default defineConfig({ plugins: [react()], + define: { + global: 'globalThis', + }, server: { port: 53000, - define: { - global: 'globalThis', - }, https: { cert: process.env.SSL_CRT_FILE ? fs.readFileSync(process.env.SSL_CRT_FILE) : undefined, key: process.env.SSL_KEY_FILE ? fs.readFileSync(process.env.SSL_KEY_FILE) : undefined, diff --git a/intelligent-data-chart-generator/vite.config.ts b/intelligent-data-chart-generator/vite.config.ts index 847a6ef4..bf2d6164 100644 --- a/intelligent-data-chart-generator/vite.config.ts +++ b/intelligent-data-chart-generator/vite.config.ts @@ -4,11 +4,11 @@ import fs from "fs"; export default defineConfig({ plugins: [react()], + define: { + global: 'globalThis', + }, server: { port: 53000, - define: { - global: 'globalThis', - }, https: { cert: process.env.SSL_CRT_FILE ? fs.readFileSync(process.env.SSL_CRT_FILE) : undefined, key: process.env.SSL_KEY_FILE ? fs.readFileSync(process.env.SSL_KEY_FILE) : undefined, diff --git a/team-central-dashboard/vite.config.ts b/team-central-dashboard/vite.config.ts index 847a6ef4..bf2d6164 100644 --- a/team-central-dashboard/vite.config.ts +++ b/team-central-dashboard/vite.config.ts @@ -4,11 +4,11 @@ import fs from "fs"; export default defineConfig({ plugins: [react()], + define: { + global: 'globalThis', + }, server: { port: 53000, - define: { - global: 'globalThis', - }, https: { cert: process.env.SSL_CRT_FILE ? fs.readFileSync(process.env.SSL_CRT_FILE) : undefined, key: process.env.SSL_KEY_FILE ? fs.readFileSync(process.env.SSL_KEY_FILE) : undefined,