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
@@ -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
|
}
|
package/vite-plugin/index.js
CHANGED
@@ -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
|
-
|
5822
|
+
const isSvelteFile = id.endsWith(".svelte");
|
5823
|
+
if (!isTypeScriptFile && !isJavascriptFile && !isSvelteFile) {
|
5823
5824
|
return;
|
5824
5825
|
}
|
5825
5826
|
}
|