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

Break JS Browser bundle into small libraries #97

Open
amitguptagwl opened this Issue Jun 26, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@amitguptagwl
Member

amitguptagwl commented Jun 26, 2018

The size of lib/parser.js for browsers is 37 kb (normal), 15 kb (minified), 4.7kb (gzipped). If the output bundled library is divided in following then the users can select particular library they want to use.

  • XML to JSObject
  • JSON to XML
  • JS Object to XML
  • XML Validator

Bookmark this repository for further updates.

@Delagen

This comment has been minimized.

Contributor

Delagen commented Aug 16, 2018

I think need to recover some bundling code from my earlier PR

@amitguptagwl

This comment has been minimized.

Member

amitguptagwl commented Aug 17, 2018

There were many helpful changes in your PR. We may integrate some of them one by one.

I may not be available for any change, review and other for next 1 week.

@Delagen

This comment has been minimized.

Contributor

Delagen commented Aug 22, 2018

Need some export refactoring to support it

@amitguptagwl

This comment has been minimized.

Member

amitguptagwl commented Aug 25, 2018

Yes. And I believe FXP is mostly used as npm package, we'll have to check if this refactoring will impact existing users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment