Compare commits

...

3 Commits

Author SHA1 Message Date
7b0d713906 fix meta-merging logic
oops :(
2023-05-14 09:05:19 -04:00
35bd15ed6e Merge pull request 'ssr-metas' (#26) from ssr-metas into master
Reviewed-on: #26
2023-05-14 07:47:59 -04:00
4bd02c6d6d Merge pull request 'hmr fixes' (#25) from redo-boot into master
Reviewed-on: #25
2023-05-06 14:28:41 -04:00
2 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,7 @@
"@eno/iso": "http://localhost:4507/lib/iso.tsx"
},
"tasks": {
"dev": "deno run -A --unstable --reload=http://localhost:4507/ --no-lock app.tsx --dev"
"dev": "deno run -A --unstable --reload=http://localhost:4507/ --no-lock app.tsx --dev",
"run": "deno run -A --unstable --reload=http://localhost:4507/ --no-lock app.tsx"
}
}

View File

@ -48,13 +48,14 @@ export const Meta =
const lookup = key as MetaKeys
const valPrev = final[lookup];
const valCurr = curr[lookup];
if(valPrev && valCurr && curr.concatListed)
if(valPrev && !valCurr)
{
final[lookup] = valPrev + curr.concatListed + valCurr;
final[lookup] = curr.dropUnlisted ? "" : valPrev;
}
else if(!valCurr && curr.dropUnlisted)
else if(valPrev && valCurr)
{
final[lookup] = "";
final[lookup] = curr.concatListed ? valPrev + curr.concatListed + valCurr : valCurr
}
else
{