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

[Feature request] Handling node-gyp-build, node-pre-gyp, binding etc. #83

Open
Rush opened this issue Jul 17, 2022 · 1 comment
Open

Comments

@Rush
Copy link

Rush commented Jul 17, 2022

Feature Proposal

Implement alternative modules to node-gyp-build, node-pre-gyp, binding - perhaps loadable as replacements via "resolve" that would help load appropriate .node file at build time.

Feature Use Case

Currently most native packages cannot be bundled due to code such as:

const binding = require('node-gyp-build')(path.join(__dirname, '..'));

and similar for other package like binding or node-pre-gyp

@alexander-akait
Copy link
Member

I think we need a webpack plugin here to handle this case and use webpack's parser hooks

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