Files
NODEDC_MISSION_CORE/apps/node-agent/ui/vite.config.js
T

10 lines
415 B
JavaScript

import { defineConfig } from "vite";
export default defineConfig({
// Shared sensor TSX lives outside this app tsconfig; use the same JSX runtime.
esbuild: { jsx: "automatic" },
// Design Guideline packages are linked during development. Their own React
// must never become a second hook dispatcher in the portable production bundle.
resolve: { dedupe: ["react", "react-dom", "@nodedc/ui-react"] },
});