Skip to content

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Nov 19, 2025

Leverage wondrify/asset-pipeline#411, wondrify/asset-pipeline#414 and wondrify/asset-pipeline#407 to simplify webjar asset paths and support version updates without requiring changes in GSP, CSS or JS files.

Added webjars-locator-core as a dependency across multiple modules to improve WebJars asset resolution. Updated asset pipeline references in JavaScript and CSS files to use simplified paths (e.g., 'webjars/dist/jquery.js', 'main.css'). Bumped asset-pipeline and Bootstrap versions in dependencies. These changes standardize asset inclusion and enhance compatibility with WebJars.

Also adds file extensions to all asset-pipeline require directives for clarity. asset-pipeline supports with and without file extensions, but with the file extension is simpler to understand.

Added 'webjars-locator-core' as a dependency across multiple modules to improve WebJars asset resolution. Updated asset pipeline references in JavaScript and CSS files to use simplified paths (e.g., 'webjars/dist/jquery.js', 'main.css'). Bumped asset-pipeline and Bootstrap versions in dependencies. These changes standardize asset inclusion and enhance compatibility with WebJars.

Also add file extensions to all asset-pipeline require directives for clarity.
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Nov 19, 2025
@jamesfredley jamesfredley added this to the grails:7.0.3 milestone Nov 19, 2025
@jamesfredley jamesfredley self-assigned this Nov 19, 2025
@jdaugherty jdaugherty merged commit 9fce3fe into 7.0.x Nov 20, 2025
60 of 62 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Nov 20, 2025
@jdaugherty jdaugherty deleted the use-webjar-locator-feature branch November 20, 2025 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

2 participants