Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101114
    peter.jak
    Member

    Hello
    We combine the smart html element with other UI components (kendo)
    In our package.json we have dependency :
    “smart-webcomponents-angular”: “7.7.1”
    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.
    Best regards
    Peter

    #101116
    admin
    Keymaster

    Hello Peter,
    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.
    Best regards,
    Dimitar
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.