-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: v6, custom elements, vite including old stencil lazy loading code #23823
Comments
Thanks for the issue. Is this preventing your app from compiling, or is it a warning in the console? |
It compile but the rendering is broken and that the only issue I see : https://github.com/Forgr-ee/Mimesis/tree/vite on the vite branch it's broken here the commit with the changes : |
Thanks! Could you please clarify the steps to reproduce the issue? I am unable to get the warning described in #23823 (comment), and |
@iampersistent I'm sorry for #23823 (comment) this was not from ionic. The only issue is the warning in the console. everything works |
Thanks I can reproduce this. Looks like it's importing some left over Stencil lazy-loading code. Since this is a warning, you should be fine to ignore it for now. |
There is a similar issue for stencil (ionic-team/stencil#3118) and possible fix (ionic-team/stencil#2959) with more details about the context. To reproduce:
|
same, any news to hide? |
Pretty keen on an update for this issue myself in 2022. 🙂 |
You can avoid this warning using
package.json
Edit
Create patch and re-install.
|
+1 for official /* @vite-ignore */ |
Seems the necessary change have been made into stencil! |
The bundle size increase should only apply to the |
Thanks for the issue. This has been resolved in updates to both Stencil and Ionicons. An upcoming version of Ionic will force the installed versions of Ionicons and Stencil to update, but you can receive this fix now by reinstalling your Ionic dependencies. To receive this fix, please make sure you are running You may need to remove your |
After update to @ionic/react v6.1.7 the built vendor.[hash].js file decreased from 807KB to 792KB, the |
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. |
Prequisites
Ionic Framework Version
Current Behavior
when trying to create fresh project with vite and ionic 6 beta i got this :
Expected Behavior
Since you said it work only for vue here : #23671 (comment)
i give a try like we can read here :
https://dev.to/aaronksaunders/getting-started-with-vitejs-ionic-framework-beta-v6-and-vuejs-2o8l
and this https://github.com/riderx/ionicv6-beta-vue-vite
doesn't work in my end
Steps to Reproduce
you can clone this : https://github.com/riderx/ionicv6-beta-vue-vite
and do
npm i
thennpm run dev
with node 16Code Reproduction URL
https://github.com/riderx/ionicv6-beta-vue-vite
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: