Switch from local bootstrap and bootstrap-icons to their WebJars resources - #363
Switch from local bootstrap and bootstrap-icons to their WebJars resources#363peutch wants to merge 3 commits into
Conversation
|
but shouldn't we add support for WebJars into Struts itself? |
|
I think at least something could be done in the same way for struts2-jquery if there is interest in it. |
|
I meant to add support for |
|
Could |
|
The down side is it does make it more difficult to debug (ie adding console.log) as the assets are in a jar. Also don't want the pom versions managed by renovate bot. |
It can be, but I would rather add a dedicated logic to serve WebJars, something like |
|
I'm going to add support for webjars in the framework itself and then implement it here |
Hi,
Following my remark about the use of WebJars in issue #354, here is an attempt to migrate struts2-bootstrap as an illustration.
I think it could simplify upgrading the dependency to Bootstrap and Bootstrap Icons components.
Note that it also includes a small fix 4ca2fbf.
Regards,
Patrice