Hi there
The creation of the Package Manager (which you will run yourself to tree-shake your BVAD3 package for your app), has started. So far my theories about this are rather simple.
1. You get the free BVAD3 package manager and run it.
2. You upload the master BVAD3 Library
3. You upload your BVAD3 project
4. An analysis of used resources, components is done
5. A new BVAD3 package is produced that suits your specific project.
PROS
PS: Currently the BVAD3 file upload for step 1 is complete. We are still planning and executing a good way forward. BTW, the BANano library does have functionality to detect and remove dead code in its transpiler options, this here is to address challenges specific to BVAD3 pre dead code removal by BANano.
github.com
The creation of the Package Manager (which you will run yourself to tree-shake your BVAD3 package for your app), has started. So far my theories about this are rather simple.
1. You get the free BVAD3 package manager and run it.
2. You upload the master BVAD3 Library
3. You upload your BVAD3 project
4. An analysis of used resources, components is done
5. A new BVAD3 package is produced that suits your specific project.
PROS
- All unused resource files that come with the BVAD3 library are eliminated, you leave only those you will use.
- All unused components are eliminated, you leave only those actually used in your app.
- All unused css, image files, js files are eliminated, you leave only those you actually use in your app.
- The size of the final BVAD3 library for your specific project is reduced tremendously. For example, if your app uses 10 / 171 components/classes (excluding css, images, js), only 10 will be part of the actual code and the rest removed.
- You need to run the package manager each time you deploy your app. If you want.
- This means rebuilding a tinier version of BVAD3 specific to your project each time you have a new project.
- You might just have a lot of BVAD3 b4xlibs, however each BVAD3 re-package will have your project name as prefix, e.g. WarehouseBVAD3.b4xlib which you can reference on your BVAD3 project.
PS: Currently the BVAD3 file upload for step 1 is complete. We are still planning and executing a good way forward. BTW, the BANano library does have functionality to detect and remove dead code in its transpiler options, this here is to address challenges specific to BVAD3 pre dead code removal by BANano.
GitHub - Mashiane/BANanoVuetifyAD3: Create websites & webapps using Vuetify & BANano
Create websites & webapps using Vuetify & BANano. Contribute to Mashiane/BANanoVuetifyAD3 development by creating an account on GitHub.
Last edited: