removed unplugin. Working on better performance in dev mode...
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
function flattenObject(input: Object) {
|
||||
if (input === null) return input
|
||||
|
||||
return Object.values(input).map((value) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
|
||||
return Object.values(input).map((value: any) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
|
||||
acc.push({[key]: value});
|
||||
return acc;
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user