We combine the smart html element with other UI components (kendo)
In our package.json we have dependency :
The angular then compiles all smart webcomponents even when we use only small subset of it.
Can we have more specific smart-html dependencies only on components we use (e.g. smart-docking) in our package.json ?
Right now our angular build takes nearly 10 mins and we need to optimize it.
There is no need to add a dependency to another, more specific, npm package. What matters to the size of the build is what is actually imported in your Angular application (in app.module.ts). If you have imported only, for example, DockingLayoutModule, only it will be bundled when the application is built.
Smart HTML Elements Team https://www.htmlelements.com