Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.09 KB

themeversion-1.md

File metadata and controls

49 lines (40 loc) · 1.09 KB

themeVersion

Configure the version that will appear in the pom.xml file within the jar file of your theme.

By default the version that is used is the one in the package.json of your project

{% code title="package.json" %}

{
  "version": "1.3.4"
}

{% endcode %}

But you can overwrite this value using an environment variable:

{% tabs %} {% tab title="Vite" %}

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"
    })
  ],
})

{% endtab %}

{% tab title="Webpack" %} {% code title="package.json" %}

{
  "keycloakify": {
    "themeVersion": "1.2.3"
  }
}

{% endcode %} {% endtab %} {% endtabs %}

By default it's the package.json homepage field at reverse with .keycloak at the end.