Add minification
This commit is contained in:
parent
b3da27e73b
commit
d34f25295c
14 changed files with 142 additions and 94 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export const serialize = (object): string => {
|
||||
export const serialize = (object: any): string => {
|
||||
return JSON.stringify(object, (_, value) => {
|
||||
if (value?.__serializable_type) {
|
||||
return [value.__serializable_type, ...value.toArray()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue