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

node-gyp-build Support #3

Open
pcfreak30 opened this issue May 2, 2024 · 0 comments
Open

node-gyp-build Support #3

pcfreak30 opened this issue May 2, 2024 · 0 comments

Comments

@pcfreak30
Copy link

This one seems tricker because the recommended code pattern is var binding = require('node-gyp-build')(__dirname)

Would need to potentially replace the path in the AST or otherwise support dynamic imports then add dedicated support for it or rewrite to use the bindings resolver in linker.js

For now its much simpler to just patch the module and replace the entrypoint with bindings module, but would be nice to get support for this loader.

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

1 participant