You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the issue. I am going to close this as a duplicate of #24280.
We have identified that this is also an issue with Vite. We have an experimental fix that seems to resolve this issue. I will update this thread when I have more to share.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
Current Behavior
Production output files are large when using Vite:
Expected Behavior
The normal output size should be like the official template:
Steps to Reproduce
Ionic and Vite
npm install
npm run build
Offical Template
npm install -g @ionic/cli
ionic start ionic-vue tabs --type=vue
cd ionic-vue
andnpm run build
Finally, comparing the output file sizes of the two projects, the vite version is several times larger.
Code Reproduction URL
https://github.com/Edsuns/ionic-vue3-vite-ts
Ionic Info
Ionic:
Ionic CLI : 6.18.1
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v14.18.1
npm : 8.1.4
OS : Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: