fix(17): WR-08 replace cp icon chain with cross-platform Node copy script

This commit is contained in:
Lucas Berger
2026-06-18 13:45:36 -04:00
parent 1c0f35748d
commit dd0b76128d
3 changed files with 51 additions and 1 deletions
+4
View File
@@ -35,6 +35,10 @@ export default defineConfig({
display: 'standalone',
scope: '/',
start_url: '/',
// WR-08: these stable icon filenames are produced by the `pwa:icons`
// npm script, which runs the assets generator and then
// `scripts/copy-pwa-icons.mjs` to rename the preset outputs to these
// names. Keep this list in sync with the COPIES table in that script.
icons: [
{ src: '/icon-192.png', sizes: '192x192', type: 'image/png' },
{ src: '/icon-512.png', sizes: '512x512', type: 'image/png' },