Détail du package

@studyportals/dll-availability-tracker

studyportals5.1kISC2.0.0

A webpack plugin that adds code to your webpack bundle that will catch errors related to unavailable DLL dependencies and tracks them to Rollbar.

readme

DllAvailabilityTracker

DllAvailabilityTracker is a Webpack plugin that adds code to your webpack bundle that will catch errors related to unavailable DLL dependencies and then track them to Rollbar.

Table of Contents

In order to use DllAvailabilityTracker you need the following Prerequisites:

  • webpack version 5 or higher
  • node.js version 8.12.0 or higher
  • npm version 6.4.1 or higher

Setup

In order to start using DllAvailabilityTracker you can import the plugin into your webpack configuration file like so:

const DllAvailabilityTracker = require('@studyportals/dll-availability-tracker');

After that you can instantiate and add the plugin to your build like so:

new DllAvailabilityTracker({
    dependencies: [
        'modal',
        'multiselect',
        'data_storage'
    ]
})

Options

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: [])