You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would probably use this in conjunction with the `browser-unpack` package.
139
+
## getUnloadableModules
140
+
141
+
Get a list of bundle module IDs for bundle modules that are not loadable for some reason e.g. they "require" unresolvable modules:
142
+
143
+
```javascript
144
+
constbrowserifyTree=require('browserify-tree');
145
+
constunloadableModules=browserifyTree.getUnloadableModules('./target/classes/org/jenkins/ui/jsmodules/blueocean-usain/jenkins-js-extension.js'); // or pass the already unpackaged bundle object
146
+
147
+
// Do something with unloadableModules e.g. stub them out of the bundle with an exception.
0 commit comments