Indeed, it was more about whether the "html-template" supports own placeholders and versioning per se.
Gesendet: Dienstag, 12. Januar 2021 um 13:14 Uhr
Von: "Harbs" <[email protected]>
An: [email protected]
Betreff: Re: CSS & JS file versioning
Von: "Harbs" <[email protected]>
An: [email protected]
Betreff: Re: CSS & JS file versioning
I think the question was how to automatically insert the build number into the html (i.e.?v=12345678)
On Jan 12, 2021, at 1:41 PM, Carlos Rovira <[email protected]> wrote:Hi,I think you need "htmlTemplate" compiler option. This is how to use in Maven:<htmlTemplate>${basedir}/target/_javascript_/bin/js-debug/jewel-example-index-template.html</htmlTemplate>in command line:-html-template=src/main/resources/jewel-example-index-template.htmlor in asconfig:"html-template": "src/main/resources/jewel-example-index-template.html"HTHCarlosEl mar, 12 ene 2021 a las 10:47, lol lol (<[email protected]>) escribió:Hi All,Is there any possibility defined that lets me define my own placeholders in the html-template?For example im using an html template with the following line<link rel="stylesheet" type="text/css" href="">Is there anything helpful already existing in the compiler so I can add a version to my css like so:href="">${application}?v=12345678" />Thank!--Carlos RoviraApache Member & Apache Royale PMCApache Software Foundation
- CSS & JS file versioning lol lol
- Re: CSS & JS file versioning Carlos Rovira
- Re: CSS & JS file versioning Harbs
- Aw: Re: CSS & JS file versioning lol lol
- Re: CSS & JS file versioning Harbs
- Re: CSS & JS file versioning Alex Harui
- RE: [EXTERNAL] CSS & JS file versioning Brian Raymes
- Re: [EXTERNAL] CSS & JS file versioning Carlos Rovira
- RE: [EXTERNAL] CSS & JS file versioning Brian Raymes
- RE: [EXTERNAL] CSS & JS file versioning Brian Raymes
- Re: [EXTERNAL] CSS & JS file versioning Harbs
- RE: [EXTERNAL] CSS & JS file versi... Brian Raymes
