镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

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

Open

Description

@Rush

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

Activity

  1. alexander-akait commented on Jul 18, 2022

    @alexander-akait
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions