Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minify schema output #14

Open
jacobgardner opened this issue Jul 19, 2019 · 0 comments
Open

Minify schema output #14

jacobgardner opened this issue Jul 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@jacobgardner
Copy link
Owner

While uglify or related minifiers will ultimately minify the javascript generated, the JSON schema embedded in the runtimeValidators.js file will remain verbose. We should add some capability to minify the schema as much as we can.

Obviously we can't minify the names of fields we're checking, but we can minify things like references.

@jacobgardner jacobgardner added the enhancement New feature or request label Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant