mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-07 22:44:16 +00:00
53 lines
942 B
TypeScript
53 lines
942 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
const env = {
|
|
NODE_ENV: "production",
|
|
};
|
|
|
|
export default defineConfig([
|
|
{
|
|
entry: "src/index.ts",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: "src/entry.ts",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: "src/infra/warning-filter.ts",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: "src/plugin-sdk/index.ts",
|
|
outDir: "dist/plugin-sdk",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: "src/plugin-sdk/account-id.ts",
|
|
outDir: "dist/plugin-sdk",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: "src/extensionAPI.ts",
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
{
|
|
entry: ["src/hooks/bundled/*/handler.ts", "src/hooks/llm-slug-generator.ts"],
|
|
env,
|
|
fixedExtension: false,
|
|
platform: "node",
|
|
},
|
|
]);
|