I’m making an extension that would use a library that does interfaces -> JSON Schema transformation. The specific library is https://www.npmjs.com/package/ts-json-schema-generator, however I’m getting several errors regarding fs, assert and util. “Can’t resolve fs in /…” is the kind of error I get when running yarn.
I’m wondering what would be the solution for this. I’s it because I’m using the library in the frontend-module, or should I do the transformation somehow in the backend to utilize node libraries.
Thanks in advance