[Chore] Strip debug console.debug/warn statements before production #4
Labels
No labels
backlog
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/avocet#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Debug logging currently active
Several diagnostic
console.debugandconsole.warnstatements were added during development:LabelView.vue
[avocet] LabelView mounted[avocet] fetchBatch start, queue length: N[avocet] fetchBatch done, got N items, total: N[avocet] handleSkip <id>snapWidths()diagnostic function +requestAnimationFrame/setTimeoutcallsEmailCardStack.vue
[avocet] swipe end <dir> lengthX: NDecision
For a demo-facing tool, strip all debug logging before production/menagerie use. If runtime debugging is needed later, use Vue DevTools or a
CF_DEBUGflag.Acceptance Criteria
console.debugor diagnosticconsole.warnin production buildsnapWidthsfunction and its timing calls removednpm run buildproduces a clean bundle with no debug artifacts