mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +02:00
Bring the Ark0N/codeman-gesture-control repo in-tree as the codeman-gesture-control workspace package so the hand-tracking overlay can be developed in the Codeman repo. New npm run build:gesture bundles src/codeman/entry.ts into the served gesture-codeman.js; scripts/build.mjs reruns it on every production build. Source formatted to Codeman's prettier style. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
// getUserMedia requires a secure context. http://localhost counts as secure,
|
|
// so the dev server below is fine. If you serve to another device, use https.
|
|
export default defineConfig({
|
|
root: '.',
|
|
server: {
|
|
host: 'localhost',
|
|
port: 5173,
|
|
open: true,
|
|
},
|
|
});
|