themeVersion
Configure the version that will appear in the pom.xml file within the jar file of your theme and in the kcContext.themeVersion.
This is purely indicative, it's a way for you to quickly see what version of your theme is in production.

By default the version that is used is the one in the package.json of your project
{
"version": "1.3.4"
}But you can overwrite this value using an environment variable:
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { keycloakify } from "keycloakify/vite-plugin";
export default defineConfig({
plugins: [
react(),
keycloakify({
themeVersion: "1.2.3"
})
],
}){
"keycloakify": {
"themeVersion": "1.2.3"
}
}Last updated
Was this helpful?