Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install v8-profiler-next on demand instead of being a dependency #854

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

TwitchBronBron
Copy link
Member

#833 added the ability to run a profiling session with a single cli flag. However, it also brought with it a dependency on v8-profiler-next, which requires node-gyp to compile. That's a pain.

Since most bsc users won't be profiling the project, this PR moves that behind an on-demand install instead. That should help with nodejs compatibility and reduce npm install issues related to node-gyp.

@TwitchBronBron TwitchBronBron merged commit 54caecf into master Jul 24, 2023
4 checks passed
@TwitchBronBron TwitchBronBron deleted the profiler-dependency-fix branch July 24, 2023 15:02
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.

None yet

1 participant