AeThex-OS/temp-forge-extract/aethex-forge-main/vite.desktop.config.ts
MrPiglr b3c308b2c8 Add functional marketplace modules, bottom nav bar, root terminal, arcade games
- ModuleManager: Central tracking for installed marketplace modules
- DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module)
- BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings
- RootShell: Real root command execution utility
- TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands
- Terminal Pro module: Adds aliases (ll, la, h), command history
- ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games
- fade_in/fade_out animations for smooth transitions
2026-02-18 22:03:50 -07:00

26 lines
662 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
export default defineConfig({
root: "client",
base: "./",
build: {
outDir: "../dist/desktop",
emptyOutDir: true,
rollupOptions: {
input: {
main: path.resolve(__dirname, "client/desktop-main.html"),
overlay: path.resolve(__dirname, "client/desktop-overlay.html"),
},
},
},
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./client"),
"@shared": path.resolve(__dirname, "./shared"),
"@assets": path.resolve(__dirname, "./attached_assets"),
},
},
});