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

Allow add plugin to main process scope ( not app.js scope ), without eject the project. #653

Open
2 tasks done
halfong opened this issue Aug 10, 2023 · 1 comment
Open
2 tasks done

Comments

@halfong
Copy link

halfong commented Aug 10, 2023

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Say I have a plugin run a headless browser to scrawl things
It's better to be a singleton instance through the whole nodejs process scope, not the app scope( for each request ).

For now, I should eject the server.js and add the plugin in it.

Is it possible to add process based plugin without eject ?

Motivation

No response

Example

No response

@yazaldefilimone
Copy link
Contributor

hum, you can explain me more or show exemple for it in code!

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

No branches or pull requests

2 participants