A static Astro page. The sheet playground imports the print engine (printlayout.ts, paper.ts) verbatim from the Klarbild repository and runs it in the browser, so the layout on screen is the application's own arithmetic rather than a mock-up. The PDF it offers is drawn from the same placements with pdf-lib. No backend, nothing uploaded, no third-party requests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nh4A79bbqT9dcd2inzYUdg
10 lines
323 B
JavaScript
10 lines
323 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
|
|
// A static site. Everything the visitor can play with runs in their browser —
|
|
// there is no server here to send a picture to.
|
|
export default defineConfig({
|
|
output: 'static',
|
|
site: 'https://klarbild-demo.heidrich-digital.de',
|
|
build: { inlineStylesheets: 'auto' },
|
|
});
|