Julius Marmingelogging404e78a8 months agoHistory
21 lines · 383 B · TypeScript
RawDownload
import { defineConfig } from "tsdown"; const shared = {  format: "cjs" as const,  outDir: "dist-electron",  sourcemap: true,  outExtensions: () => ({ js: ".js" }),}; export default defineConfig([  {    ...shared,    entry: ["src/main.ts"],    clean: true,    noExternal: (id) => id.startsWith("@t3tools/"),  },  {    ...shared,    entry: ["src/preload.ts"],  },]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t