forked from MapComplete/MapComplete
Fix: svg image generation script
This commit is contained in:
parent
e32cbbc67f
commit
f9b1e9b2de
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ function genImages(dryrun = false) {
|
||||||
const dir = fs.readdirSync("./assets/svg")
|
const dir = fs.readdirSync("./assets/svg")
|
||||||
|
|
||||||
let module =
|
let module =
|
||||||
'import Img from "./UI/Base/Img";\nimport {FixedUiElement} from "./UI/Base/FixedUiElement";\n\nexport default class Svg {\n\n\n'
|
'import Img from "./src/UI/Base/Img";\nimport {FixedUiElement} from "./src/UI/Base/FixedUiElement";\n\nexport default class Svg {\n\n\n'
|
||||||
const allNames: string[] = []
|
const allNames: string[] = []
|
||||||
for (const path of dir) {
|
for (const path of dir) {
|
||||||
if (path.endsWith("license_info.json")) {
|
if (path.endsWith("license_info.json")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue