* add platform guards * add service management * fix types * move to zustand for servicehub * update App Updater * update tauri missing move * update app updater * refactor: move PlatformFeatures to separate const file 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * change tauri fetch name * update implementation * update extension fetch * make web version run properly * disabled unused web settings * fix all tests * fix lint * fix tests * add mock for extension * fix build * update make and mise * fix tsconfig for web-extensions * fix loader type * cleanup * fix test * update error handling + mcp should be working * Update mcp init * use separate is_web_app build property * Remove fixed model catalog url * fix additional tests * fix download issue (event emitter not implemented correctly) * Update Title html * fix app logs * update root tsx render timing --------- Co-authored-by: Claude <noreply@anthropic.com>
21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
lib: {
|
|
entry: 'src/index.ts',
|
|
name: 'JanExtensionsWeb',
|
|
formats: ['es'],
|
|
fileName: 'index'
|
|
},
|
|
rollupOptions: {
|
|
external: ['@janhq/core'],
|
|
output: {
|
|
globals: {
|
|
'@janhq/core': 'JanCore'
|
|
}
|
|
}
|
|
},
|
|
emptyOutDir: false // Don't clean the output directory
|
|
}
|
|
}) |