Library doesn't declare `core/drupal` as a dependency

Created on 20 November 2024, 2 days ago

Problem/Motivation

Steps to reproduce

The JavaScript file used has a dependency on core/drupal but doesn't declare it. This can cause an issue when no other JavaScript library on the site asks for it (console errors, Prism.highlighAll() not called on Ajax, etc.)

Proposed resolution

Add the dependency declaration to the libraries file.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands shderuiter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024