keycloakify 11.2.4 → 11.2.5
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
@@ -166,7 +166,7 @@ export function keycloakify(params: keycloakify.Params) {
|
|
166
166
|
[
|
167
167
|
`(`,
|
168
168
|
`(window.kcContext === undefined || import.meta.env.MODE === "development")?`,
|
169
|
-
`
|
169
|
+
`import.meta.env.BASE_URL:`,
|
170
170
|
`(window.kcContext["x-keycloakify"].resourcesPath + "/${WELL_KNOWN_DIRECTORY_BASE_NAME.DIST}/")`,
|
171
171
|
`)`
|
172
172
|
].join("")
|
package/vite-plugin/index.js
CHANGED
@@ -1549,7 +1549,7 @@ function keycloakify(params) {
|
|
1549
1549
|
transformedCode.replaceAll(/import\.meta\.env(?:(?:\.BASE_URL)|(?:\["BASE_URL"\]))/g, [
|
1550
1550
|
`(`,
|
1551
1551
|
`(window.kcContext === undefined || import.meta.env.MODE === "development")?`,
|
1552
|
-
`
|
1552
|
+
`import.meta.env.BASE_URL:`,
|
1553
1553
|
`(window.kcContext["x-keycloakify"].resourcesPath + "/${constants_1.WELL_KNOWN_DIRECTORY_BASE_NAME.DIST}/")`,
|
1554
1554
|
`)`
|
1555
1555
|
].join(""));
|