17 lines · 567 B · TypeScript
RawDownload
import { defineConfig } from "tsup"; // Only console-routes gets built: it is imported by app vite configs, which// vite's config loader runs under Node (it externalizes bare package imports,// and Node cannot load raw .ts). Everything else this package exports is// browser code compiled from src by each app's vite build. Same pattern as// @executor-js/vite-plugin.export default defineConfig({  entry: {    "console-routes": "src/console-routes.ts",  },  format: ["esm"],  dts: false,  sourcemap: true,  clean: true,  external: [/^@tanstack\//],});

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