Fix previous release
This commit is contained in:
parent
a2db250600
commit
1049e312f9
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "keycloakify",
|
"name": "keycloakify",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"description": "Keycloak theme generator for Reacts app",
|
"description": "Keycloak theme generator for Reacts app",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -11,8 +11,8 @@ export function replaceImportFromStaticInJsCode(
|
|||||||
const { jsCode, ftlValuesGlobalName } = params;
|
const { jsCode, ftlValuesGlobalName } = params;
|
||||||
|
|
||||||
const fixedJsCode = jsCode!.replace(
|
const fixedJsCode = jsCode!.replace(
|
||||||
/ [^ ]+"static\//g,
|
/[a-z]+\.[a-z]+\+"static\//g,
|
||||||
` window.${ftlValuesGlobalName}.url.resourcesPath + "/build/static/`
|
`window.${ftlValuesGlobalName}.url.resourcesPath + "/build/static/`
|
||||||
);
|
);
|
||||||
|
|
||||||
return { fixedJsCode };
|
return { fixedJsCode };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user