-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Create a streamlined bundle optimised for Web/AST users #914
Comments
Hi @dselman, I'd love to tackle this issue. Any ideas where I should start looking? |
Hi @dselman, I created a new package called concerto-core-essential based on concerto-core. I removed the concerto-core dependency form PS I know it's not October quite yet, but I would like to do this as one of the Hacktoberfest contributions |
Hey @RINO-GAELICO that sounds very promising! One of my concerns is long-term maintenance of the packaged; we want to ensure that the overhead of adding another bundle to our build/publish is minimal, and as automated as possible. I can see a couple of options:
Alternatively perhaps there is some web pack build config that we can use to generate the I think an analysis of these options (plus others?) would be useful first β we can then validate the best way to proceed at a working group call. |
Hi @dselman, thanks for the thorough explanation. It seems that adding a new package might not be the best approach, since it would increase the maintenance burden. Shall we move forward in that direction? |
Hi @dselman, If we proceed with the option of modifying the webpack config, can we use two different entry points? If so, would that mean we would need to have two different index.js files? Alternatively, we could use two separate webpack config files. Please let me know what are your thoughts on this |
Feature Request ποΈ
Although we web pack concerto-core today, it is quite large, mostly due to the inclusion of the CTO parser, coming from concerto-cto.
Use Case
Users using the ModelManager with AST (JSON) files only, particularly in a memory constrained environment, like the web browser.
Possible Solution
It would be useful to build a package that was essentially concerto-core, but without concerto-cto. This would break the ModelManager.addCTOFile method but the rest of the implementation should work.
Context
Detailed Description
The text was updated successfully, but these errors were encountered: