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

Reduce bundle size #60

Open
customcommander opened this issue Nov 15, 2021 · 1 comment
Open

Reduce bundle size #60

customcommander opened this issue Nov 15, 2021 · 1 comment
Milestone

Comments

@customcommander
Copy link
Owner

The bundle is ±160KB with comments and whitespaces.

The Google Closure Compiler is available in the Docker development container. Try any of these compilation level (although the ADVANCED level is most likely not possible for this project):

 --compilation_level (-O) VAL           : Specifies the compilation level to
                                          use. Options: BUNDLE, WHITESPACE_ONLY,
                                          SIMPLE (default), ADVANCED (default:
                                          SIMPLE)
@customcommander
Copy link
Owner Author

In addition ajv could become a peer dependency. In this case this should be a breaking change.

Suggestions:

  • Breaking changes
  • A Webpack config to bundle the library for a browser usage

@customcommander customcommander added this to the v6.0.0 milestone Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant