export/import PoC works

This commit is contained in:
Henry Jameson 2024-09-30 00:16:47 +03:00
commit 89b05cfc57
5 changed files with 60 additions and 81 deletions

View file

@ -136,7 +136,7 @@ export const deserialize = (input) => {
output.directives = Object.fromEntries(content.map(d => {
const [property, value] = d.split(':')
let realValue = value.trim()
let realValue = (value || '').trim()
if (property === 'shadow') {
if (realValue === 'none') {
realValue = []