-
Notifications
You must be signed in to change notification settings - Fork 47
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 to consume with C++ sources to build as part of npm install
#191
Comments
We may be able to publish the source files. The thing I'd be worried about and need to look into is whether including the |
Hi! I believe npm will build following the default |
What's the simplest cross-platform solution for conditional npm script?
|
You can take https://github.com/prebuild/node-gyp-build/blob/master/bin.js as an example. Basically what we want is,
|
Thanks @devongovett 🚀 |
I think ever since 062bca4, components that depend on
@parcel/watcher
no longer compile the module from its C++ sources but get prebuild versions.In VS Code we require to build C++ modules from sources, so it would be great to have the ability back to do so, so that we can move to newer versions of this module.
I think a starting point is to have the sources back in the NPM package: #157
Alternatively, maybe a different NPM package could be published that is strictly for building from sources?
//cc @devongovett
The text was updated successfully, but these errors were encountered: