Open ComLock opened 10 months ago
Workaround is to use Gradle ReplaceTokens filter https://docs.gradle.org/current/userguide/working_with_files.html#sec:filtering_files
Side note: @sigdestad want's me to try using service in starter-tsup rather Pattern mapping.
That should probably work, but with less control over urls. Meaning a static resource will have multiple urls, even though we'll only use the shortest one (when generating urls)
What about XP dev mode?
In order to fix https://github.com/enonic/starter-tsup/issues/387 I need the ability to use app.name in a Pattern mapping. https://developer.enonic.com/docs/xp/stable/framework/mappings#pattern_mappings
Something like:
In js this would be a template literal string: