mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8baa8624ca
* record audio on long press * push to talk prototype * Pre release mme/push-to-talk * Pre release mme/push-to-talk - exit pre mode * re-enable source maps * refactor push to talk
17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
import { defineConfig, Options } from "tsup";
|
|
|
|
export default defineConfig((options: Options) => ({
|
|
entry: ["src/**/*.{ts,tsx}"],
|
|
format: ["esm", "cjs"],
|
|
dts: true,
|
|
minify: false,
|
|
external: ["react"],
|
|
sourcemap: true,
|
|
exclude: [
|
|
"**/*.test.ts", // Exclude TypeScript test files
|
|
"**/*.test.tsx", // Exclude TypeScript React test files
|
|
"**/__tests__/*", // Exclude any files inside a __tests__ directory
|
|
],
|
|
...options,
|
|
}));
|