Capacitor/Cordova: www folder not cleaned up before build #15186
Labels
bug/2-confirmed
We have reproduce the problem and confirmed that this is a bug.
flavour/quasar-cli-vite
flavour/quasar-cli-webpack
kind/bug 🐞
mode/capacitor
Qv2 🔝
Quasar v2 issues
Description
When upgrading Capacitor as described in the documentation (see the link below), you should also delete the
www
folder, otherwise the bundle files will be created twice (or even more), which will make the final APK file unnecessarily large.The more often you perform the upgrade steps, the more duplicates will result.
So I would suggest to add the
www
folder to the folders to delete in the first step of the Upgrade guide in the documentation.I don't know if this only occurs with Vite because I did not test it with Webpack.
Thanks for all your work for such a great framework! I wish you a happy new year!
Documentation Section URL
https://quasar.dev/quasar-cli-vite/developing-capacitor-apps/capacitor-version-support#upgrading-capacitor
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Capacitor Mode
The text was updated successfully, but these errors were encountered: