Files
Your Name 7f228fb76f perf(library): optimize grid performance and add nightly version support
- Use CachedImage (memoized) instead of raw Image in library grids
- Add GPU acceleration hints (translateZ) to card containers
- Remove expensive shadow-lg from library card image containers
- Add hover scale transform to match homepage cards
- Fix pagination scroll to use correct scroll container (#main-content)
- Scroll after page change, not on click
- Remove standalone /artists and /albums pages (use /library tabs)
- Add NEXT_PUBLIC_BUILD_TYPE env var for nightly vs release builds
- Bump version to 1.3.6

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 17:29:54 -06:00

11 lines
400 B
TypeScript

import packageJson from "../package.json";
// Base version from package.json
const BASE_VERSION = packageJson.version;
// Check if this is a nightly build (set via NEXT_PUBLIC_BUILD_TYPE env var)
const isNightly = process.env.NEXT_PUBLIC_BUILD_TYPE === "nightly";
// Export version with nightly suffix if applicable
export const APP_VERSION = isNightly ? `${BASE_VERSION}-nightly` : BASE_VERSION;