feat: implement PouchDB storage layer with CRUD operations and add showcase UI component
This commit is contained in:
@@ -8,4 +8,14 @@ export default defineConfig({
|
||||
port: 5173,
|
||||
strictPort: true, // Fail if 5173 is in use. Electron NEEDS this exact port.
|
||||
},
|
||||
define: {
|
||||
// Crucial for PouchDB to not crash in the browser
|
||||
global: 'window',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
// Force Vite to use the installed npm package for 'events'
|
||||
events: 'events',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user