first commit
This commit is contained in:
20
packages/admin/tsdown.config.ts
Normal file
20
packages/admin/tsdown.config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from "tsdown";
|
||||
|
||||
export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
clean: true,
|
||||
platform: "browser",
|
||||
// @tiptap/suggestion is intentionally bundled (devDependency)
|
||||
inlineOnly: false,
|
||||
external: [
|
||||
"react",
|
||||
"react-dom",
|
||||
"react/jsx-runtime",
|
||||
"react/jsx-dev-runtime",
|
||||
// Keep TanStack external - Vite in consumer project will need to resolve these
|
||||
"@tanstack/react-router",
|
||||
"@tanstack/react-query",
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user