I have a module with a bunch of bundled dependencies (bundledDependencies in package.json). I've noticed that if the bundled dependency is native (compiled/node-gyp) it will be rebuild when I install my module. However, it the bundled dependency has a dependency on a native module this will not be rebuild when installed.
A --- bundles --> B
In this case B is build when installing A.
A --- bundles --> B --- depends on --> C
C is not build when installing A.
I'm not sure if doing an "
npm rebuild" after installing A will rebuild C.