No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Can we have tree-shaking for framework: 'all' in quasar.conf.js ?

    Framework
    3
    3
    165
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jitendra16 last edited by

      Instead of writing components required manually, can we tree shake framework:‘all’ at build time ?

      digiproduct 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Unfortunately, no. Not without some sort of scanning system during the build or dev server compilation phases, which could possibly slow down an initial start up or build process.

        Scott

        1 Reply Last reply Reply Quote 0
        • digiproduct
          digiproduct @jitendra16 last edited by

          @jitendra16 I believe Allan across on the Discord Group was talking about possibly writing an App Extension to work out automatically what components were needed and/or used but not required.

          Not sure if he did anything about it … you could ask him on the Discord group.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post