- Move core agent engine to packages/core/ - Add packages/types/ for shared TypeScript types - Add packages/utils/ for utility functions - Add apps/cli/ for command-line interface - Add apps/gateway/ for NestJS WebSocket gateway - Add apps/server/ for REST API server - Restructure desktop app (electron/ → src/main/, src/preload/) - Update pnpm workspace configuration - Remove legacy src/ directory Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
507 B
TypeScript
22 lines
507 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
transpilePackages: ["@multica/ui", "@multica/store", "@multica/hooks", "@multica/sdk"],
|
|
headers: async () => [
|
|
{
|
|
source: "/sw.js",
|
|
headers: [
|
|
{
|
|
key: "Cache-Control",
|
|
value: "no-cache, no-store, must-revalidate",
|
|
},
|
|
{
|
|
key: "Content-Type",
|
|
value: "application/javascript; charset=utf-8",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default nextConfig;
|