fix(17): WR-08 replace cp icon chain with cross-platform Node copy script
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user