fix: prettier formatting, viteStaticCopy paths, HydrateFallback warning
- Fix prettier formatting in useCall.ts and initMatrix.ts (unblocks CI) - Fix viteStaticCopy stripBase so manifest.json and public/locales/ land at correct output paths (was getting extra 'public/' prefix from v4 path preservation behavior) - Silence react-router v7 HydrateFallback warning on root route (SPA has no SSR hydration, null is intentional)
This commit is contained in:
@@ -24,14 +24,17 @@ const copyFiles = {
|
||||
{
|
||||
src: 'public/manifest.json',
|
||||
dest: '',
|
||||
rename: { stripBase: true },
|
||||
},
|
||||
{
|
||||
src: 'public/res/android',
|
||||
dest: 'public/',
|
||||
rename: { stripBase: 2 },
|
||||
},
|
||||
{
|
||||
src: 'public/locales',
|
||||
dest: 'public/',
|
||||
rename: { stripBase: 1 },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user