Custom data types use the name of the class that was in memory at the time that the object was persisted to recreate the object when the database is read in.
If the name of the class has changed, this will fail.
Since minification changes the names of classes, you should not use it when using JSDB in your projects.
Similarly, in esbuild, (削除) you should use the you should stick to --keep-names option so that names are not changed. (削除ここまで)--minify-whitespace + --minify-syntax and leave out --minify-identifiers. (see https://esbuild.github.io/api/#minify-considerations)