Files
TREK/shared/tsdown.config.ts
T
Maurice 8c6f5deab2 feat(studio): a sticker library of 148 hand-drawn illustrations, placed, recoloured and searched by people and the assistant
A new element kind, sticker, draws layered vector illustrations from a library in twelve themes, behind its own entry point @trek/shared/stickers. Studio gets a Stickers rail section (themes, localized search, recently used, click or drag to place) and an inspector for colour slots, mirroring, turning and opacity. The assistant gets list_book_assets, add and style of stickers in edit_book_page, stickers in describe_book_page and an overlap warning for a sticker over words. BOOK_SCHEMA_REV goes to 2.
2026-10-23 21:06:09 +02:00

23 lines
636 B
TypeScript

import { defineConfig } from 'tsdown';
export default defineConfig({
// Root barrel + i18n metadata barrel + one entry per locale (lazy-load chunks),
// plus the DOMPurify sanitisers, kept out of the root (src/sanitize/sanitize.ts), and the
// sticker library, whose drawings only the Studio and the book engine's callers load
entry: [
'src/index.ts',
'src/roadtrip/planning.ts',
'src/sanitize/sanitize.ts',
'src/book/stickers/index.ts',
'src/i18n/index.ts',
'src/i18n/*/index.ts',
],
format: ['cjs', 'esm'],
dts: true,
clean: true,
deps: {
neverBundle: ['zod'],
},
target: false,
});