feat: dashcam photo mode with telemetry frame, lens drift and postcard capture
This commit is contained in:
@@ -145,7 +145,7 @@ const totals = {
|
||||
firstLiveScene: sum('first-live-scene'),
|
||||
deferredProjectVisuals: sum('project-still') + sum('chart'),
|
||||
highTierExtras: sum('high-tier-extras'),
|
||||
deferredNonVideo: sum('first-live-scene') + sum('high-tier-extras') + sum('project-still') + sum('chart'),
|
||||
deferredNonVideo: sum('first-live-scene') + sum('high-tier-extras') + sum('project-still') + sum('chart') + sum('deferred-non-video'),
|
||||
deferredAudio: sum('soundtrack-audio'),
|
||||
};
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ export const classifyArtifact = (path, source = '') => {
|
||||
if (/^assets\/index-[^/]+\.js$/u.test(path) && /import\(/u.test(source)) return 'initial-application-js';
|
||||
if (/^assets\/(?:environment-high|high-tier)-[^/]+\.(?:js|avif|webp|png|jpe?g)$/u.test(path)) return 'high-tier-extras';
|
||||
if (/^assets\/environment-[^/]+\.js$/u.test(path)) return 'first-live-scene';
|
||||
// DASHCAM: the photo-mode frame and postcard, loaded on first open.
|
||||
if (/^assets\/DashcamFrame-[^/]+\.(?:js|css)$/u.test(path)) return 'deferred-non-video';
|
||||
if (/^assets\/nightdrive-(?:grand-tourer|districts)-[^/]+\.glb$/u.test(path)) return 'first-live-scene';
|
||||
if (/\.(?:woff2?|ttf|otf)$/u.test(path)) return 'initial-fonts';
|
||||
if (/^assets\/hero-[^/]+\.(?:avif|webp|png|jpe?g)$/u.test(path)) return 'hero-poster';
|
||||
|
||||
Reference in New Issue
Block a user