7015fb0153
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
15 lines
523 B
TypeScript
15 lines
523 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/main.ts"],
|
|
format: ["esm"],
|
|
target: "node22",
|
|
platform: "node",
|
|
clean: true,
|
|
sourcemap: true,
|
|
// `electron` is a runtime builtin inside the Electron main process; the workspace
|
|
// packages stay external so the server entry keeps its own file identity (the shell
|
|
// forks it as a child by path) and lock.js resolves from node_modules.
|
|
external: ["electron", "@prismshadow/penguin-server", "@prismshadow/penguin-core"],
|
|
});
|