raml-org / raml-js-parser

(deprecated) A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
195 stars 53 forks source link

Browser distribution is bit heavy for browsers #181

Closed jorgegarciamule closed 8 years ago

jorgegarciamule commented 8 years ago

Generated file browserVersion/raml-1-parser.js is 16MB. Compiled with Google closure using ADVANCED_OPTIMIZATIONS it went down to 5.1M. With gzip it goes to 1.2M. This represents around 60% on weight on this project https://github.com/mulesoft/api-console (assuming advanced minification).

jorgegarciamule commented 8 years ago

Sorry, this was for raml-js-parser-2 project.