Skip to content

fix(debug): import performance from perf_hooks#13464

Merged
patak-cat merged 1 commit intomainfrom
fix-debug-perf-global
Jun 8, 2023
Merged

fix(debug): import performance from perf_hooks#13464
patak-cat merged 1 commit intomainfrom
fix-debug-perf-global

Conversation

@bluwy
Copy link
Member

@bluwy bluwy commented Jun 8, 2023

Description

noticed this from the error logs at #13463. we're accidentally using the global performance object, which only exist in node 16. Causing vite --debug to fail in node 14.

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-cat patak-cat merged commit d458ccd into main Jun 8, 2023
@patak-cat patak-cat deleted the fix-debug-perf-global branch June 8, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants