Make Libraries use the theme/module version when using the VERSION constant

Created on 26 September 2024, about 2 months ago

Problem/Motivation

Right now, when the "VERSION" is set for the version of a library within a module/theme, that library parser will use the Drupal VERSION constant, which is the current core version. It would be beneficial to have this version key off the module/theme version. This would allow the module/theme libraries to utilize the module/theme version for cache busting when the module is updated.

Proposed resolution

\
The library parser could use the module/theme version instead of the Drupal core version when available. Or it could also be adjusted to append the module version to the Drupal core version.

Feature request
Status

Active

Version

11.0 🔥

Component

asset library system

Created by

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

Comments & Activities

Production build 0.71.5 2024