form-js icon indicating copy to clipboard operation
form-js copied to clipboard

Do a clean export of `getSchemaVariables`

Open vsgoulart opened this issue 1 year ago • 0 comments

What should we do?

Currently if you want to import only getSchemaVariables it will bundle UI deps like Preact into your static files. This is happening because we don't have an specific export for getSchemaVariables and because we store each component config together with JSX To avoid the UI deps we need to split the config from the JSX

Why should we do it?

To allow consumer having smaller bundles in their apps/libs

vsgoulart avatar Jan 12 '24 16:01 vsgoulart