Add vite.config.js
This commit is contained in:
parent
41ddc8c96a
commit
0efb8b8d1a
|
|
@ -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(),
|
||||
]
|
||||
});
|
||||
Loading…
Reference in New Issue