fix(ui): migrate to cra v4

This commit is contained in:
Łukasz Mierzwa
2020-11-23 18:12:08 +00:00
committed by Łukasz Mierzwa
parent f225143775
commit db0aa0bab9
41 changed files with 215 additions and 860 deletions

View File

@@ -51,14 +51,14 @@ func TestCustomizationAssets(t *testing.T) {
customJS: "../../ui/.env",
path: "/custom.js",
code: 200,
body: "PUBLIC_URL=.\nEXTEND_ESLINT=true\n",
body: "PUBLIC_URL=.\nFAST_REFRESH=false\n",
mime: "application/javascript",
},
{
customCSS: "../../ui/.env",
path: "/custom.css",
code: 200,
body: "PUBLIC_URL=.\nEXTEND_ESLINT=true\n",
body: "PUBLIC_URL=.\nFAST_REFRESH=false\n",
mime: "text/css",
},
}