Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes are listed here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Unreleased

### Changed

- The image leaves out the app's TypeScript sources and their tests, which the server never read. `import-kuma` keeps its own.

## 0.5.0 - 2026-10-04

### Added
Expand Down
8 changes: 5 additions & 3 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ const basePath = parseBasePath(process.env.BASE_PATH);
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ["better-sqlite3"],
// The server never reads the importer. The image copies the files it
// runs from on its own (see the Dockerfile), and its fixtures stay out.
outputFileTracingExcludes: { "**": ["src/lib/kuma/**"] },
// The server runs its compiled bundles and reads no file under src. The
// tracer still took every file there, tests and the importer's fixtures
// included, from the config paths it cannot resolve at build time. The
// image copies the importer's sources on its own (see the Dockerfile).
outputFileTracingExcludes: { "**": ["src/**"] },
basePath,
// Written into the app's code, server and browser, for src/lib/base-path.ts.
env: { STATOSS_BASE_PATH: basePath },
Expand Down
Loading