Add withIslandAssets (island tools/asset-plugin) per ADR 0008. On next dev and next build it builds the svgo sprite from src/icons and copies the Yekan Bakh fonts into the app's public/ under content-hashed names, puts their paths in env (NEXT_PUBLIC_ISLAND_*) and serves them with an immutable Cache-Control. Files are written in headers(), which only Next calls, because Nx's next plugin also evaluates the config from the workspace root. - island env (setEnv/getEnv); Icon reads the sprite path from it - icon-sprite-plugin becomes icon-name-extraction (IconName type only); the committed sprite.svg is removed - bull and bear register the plugin, validate the paths, pass them to island through their bootstraps, and add an optional CDN origin for fonts - gitignore the generated files; Nx build outputs include them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| apps | ||
| docs/decisions | ||
| packages | ||
| platforms/market | ||
| tools/generators | ||
| .gitignore | ||
| .ignore | ||
| .oxlintrc.json | ||
| .prettierignore | ||
| .prettierrc | ||
| CLAUDE.md | ||
| README.md | ||
| eslint.config.mjs | ||
| nx.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||
| tsconfig.json | ||