Make library compilable on user's end #69
g-cheishvili
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
The approach sounds interesting. Maybe this could be even done in two flavors, a pre-built variant and the one to be integrated in your project (for experts). The pre-built variant has the charm to definitely work but in case of having floating versions for Angular and UI5 WebC this may lead to build issues. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently what we do is that we parse the ui5 on our end, then create wrappers and build them, then publish them on npm, this is a quick way for users to use our wrappers, but it also has few drawbacks:
@angular/cliversion we have@ui5/*, the same versions as we doWhat I think we could do is that we can ship just the parser and a generator and have
postinstallhook, which would generate the library on user's application, effectively making it support Angular versions all the way from14! Also, users would be able to install whatever the ui5 version they have and also we could add support for prefixed components, without a lot of effort.Beta Was this translation helpful? Give feedback.
All reactions