Skip to content

Identify method to remove webjar JS library versions from CSS and JS Files #14917

@jamesfredley

Description

@jamesfredley

Issue description

Currently when we update the webjar versions these files require an update also, since the version is included in the path. This was not true for bower webjars, but those were deprecated and not longer supported for publishing.

application.js

//= require webjars/jquery/3.7.1/dist/jquery.js
//= require webjars/jquery/3.7.1/dist/jquery.js
//= require webjars/bootstrap/5.3.3/dist/js/bootstrap.bundle

application.css

*= require webjars/bootstrap/5.3.3/dist/css/bootstrap
*= require webjars/bootstrap-icons/1.11.3/font/bootstrap-icons

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions