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

    Possible to get tree-shaking to work with vue-builder-webpack-plugin

    Framework
    1
    1
    124
    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.
    • W
      walfin last edited by

      Hi, I’ve been using all:true instead of all:‘auto’ for all my apps as all:‘auto’ simply did not work (none of the components was included in my build). I suspect this is due to my use of vue-builder-webpack-plugin to split my code into separate HTML, STYL and JS files (I prefer organising my code that way), which causes the compiler to be unable to detect the components referred to (vue-builder-webpack-plugin basically generates vue files with just a <script>, <template> and <style> tag that respectively point to the actual source file).

      Is it possible to have tree-shaking work with vue-builder-webpack-plugin? I’m finding that using all:true might be impacting my performance.

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