mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-24 03:06:16 +00:00
- Add triggerSync method to plugin bridge for sync operations - Enhance plugin iframe utility with better message handling and hook support - Update sync-md plugin with improved error handling and sync state management - Add plugin context validation for sync operations - Update plugin API types with proper exports - Improve bidirectional sync in sync-md plugin - Add translation constant for sync context validation
21 lines
467 B
TypeScript
21 lines
467 B
TypeScript
import { defineConfig } from 'vite';
|
|
import solidPlugin from 'vite-plugin-solid';
|
|
|
|
export default defineConfig({
|
|
plugins: [solidPlugin()],
|
|
build: {
|
|
minify: true,
|
|
target: 'esnext',
|
|
cssCodeSplit: false,
|
|
rollupOptions: {
|
|
output: {
|
|
inlineDynamicImports: true,
|
|
manualChunks: undefined,
|
|
},
|
|
},
|
|
},
|
|
define: {
|
|
// Ensure we're in production mode for smaller builds
|
|
'process.env.NODE_ENV': '"production"',
|
|
},
|
|
});
|