Fixes: 1. media.ts: wrap placeholder generation in try-catch 2. toolbar.ts: check r.ok, display error message in popover
11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/server.ts"],
|
|
format: ["esm"],
|
|
dts: true,
|
|
clean: true,
|
|
platform: "browser",
|
|
external: ["react", "react-dom", "react/jsx-runtime", "react/jsx-dev-runtime"],
|
|
});
|