keycloakify 11.7.1 → 11.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.7.1",
3
+ "version": "11.7.2",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -155,8 +155,9 @@ export function keycloakify(params: keycloakify.Params) {
155
155
  {
156
156
  const isJavascriptFile = id.endsWith(".js") || id.endsWith(".jsx");
157
157
  const isTypeScriptFile = id.endsWith(".ts") || id.endsWith(".tsx");
158
+ const isSvelteFile = id.endsWith(".svelte");
158
159
 
159
- if (!isTypeScriptFile && !isJavascriptFile) {
160
+ if (!isTypeScriptFile && !isJavascriptFile && !isSvelteFile) {
160
161
  return;
161
162
  }
162
163
  }
@@ -5819,7 +5819,8 @@ function keycloakify(params) {
5819
5819
  {
5820
5820
  const isJavascriptFile = id.endsWith(".js") || id.endsWith(".jsx");
5821
5821
  const isTypeScriptFile = id.endsWith(".ts") || id.endsWith(".tsx");
5822
- if (!isTypeScriptFile && !isJavascriptFile) {
5822
+ const isSvelteFile = id.endsWith(".svelte");
5823
+ if (!isTypeScriptFile && !isJavascriptFile && !isSvelteFile) {
5823
5824
  return;
5824
5825
  }
5825
5826
  }