Removed ShieldAI artifacts: - apps/api/, apps/web/, apps/mobile/ - packages/ (all 8 shared packages) - services/voiceprint-ml/ - server/alerts/, server/webrtc/ - examples/ Removed Scripter artifacts: - marketing/ - tasks/ Updated root configs: - Renamed package.json from shieldsai-monorepo to frenocorp - Updated tsconfig.json to include agents/ instead of src/ - Updated vite.config.ts aliases to reference agents/, analysis/, plans/
34 lines
667 B
TypeScript
34 lines
667 B
TypeScript
import { defineConfig } from 'vite';
|
|
import solid from 'vite-plugin-solid';
|
|
import { resolve } from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [solid()],
|
|
resolve: {
|
|
alias: {
|
|
'@agents': resolve(__dirname, './agents'),
|
|
'@analysis': resolve(__dirname, './analysis'),
|
|
'@plans': resolve(__dirname, './plans'),
|
|
},
|
|
},
|
|
build: {
|
|
target: 'esnext',
|
|
outDir: 'dist',
|
|
sourcemap: true,
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
},
|
|
},
|
|
},
|
|
server: {
|
|
port: 3000,
|
|
proxy: {
|
|
'/sync': {
|
|
target: 'ws://localhost:8080',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
});
|