A webpack plugin that adds code to your webpack bundle that will catch errors related to unavailable DLL dependencies and tracks them to Rollbar.
npm install @studyportals/dll-availability-trackerWebpack plugin that adds code to your webpack bundle that will catch errors related to unavailable DLL dependencies and then track them to Rollbar.
webpack version 5 or higher
node.js version 8.12.0 or higher
npm version 6.4.1 or higher
javascript
const DllAvailabilityTracker = require('@studyportals/dll-availability-tracker');
`
After that you can instantiate and add the plugin to your build like so:
`javascript
new DllAvailabilityTracker({
dependencies: [
'modal',
'multiselect',
'data_storage'
]
})
`
$3
The following options can be passed to the DllAvailabilityTracker instance:
| Option | Description | Required |
|---|---|---|
| dependencies string[]| The names of the Dll dependencies that need to be tracked. | no (default: []`) |