From 0efb8b8d1a080484a5de11ab9aa3a1cb5b83a35e Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Wed, 11 Mar 2026 08:33:48 -0500 Subject: [PATCH] Add vite.config.js --- vite.config.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vite.config.js diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..a1c59ad --- /dev/null +++ b/vite.config.js @@ -0,0 +1,20 @@ +import base44 from "@base44/vite-plugin" +import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite' + +// https://vite.dev/config/ +export default defineConfig({ + logLevel: 'error', // Suppress warnings, only show errors + plugins: [ + base44({ + // Support for legacy code that imports the base44 SDK with @/integrations, @/entities, etc. + // can be removed if the code has been updated to use the new SDK imports from @base44/sdk + legacySDKImports: process.env.BASE44_LEGACY_SDK_IMPORTS === 'true', + hmrNotifier: true, + navigationNotifier: true, + analyticsTracker: true, + visualEditAgent: true + }), + react(), + ] +}); \ No newline at end of file