-
Notifications
You must be signed in to change notification settings - Fork 783
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: Variable imports cannot import their own directory, place imports in a separate directory or make the import filename more specific. For example #3157
Comments
This is the issue mentioned / will be fixed by #2959 |
Thanks. I have this in the package.json for @vime/core:
But I still get:
when I run npm run build |
|
I still have this issue. Any updates? |
If anyone needs a workaround to load Stencil component in Sveltekit, mine:
|
👋 The bug reported in this issue has been fixed with the v2.16.0 release of Stencil. Libraries using Stencil (like Vime) may need to recompile with the I'm going to close this issue. If you believe that the bug still exists, please feel free to open a new ticket. Thanks again! |
Prerequisites
Stencil Version
2.5.2
Current Behavior
When running npm run dev on a sveltekit app with vimejs (which depends on stencil), or running npm run build with the static adapter for sveltelit, the following errors appear:
The above dynamic import cannot be analyzed by vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
Plugin: vite:import-analysis
File: /home/ubuntu/tmp/errr/my-app/node_modules/@stencil/core/internal/client/index.js?v=eb517c28
Expected Behavior
Clean run
Steps to Reproduce
npm run dev
Code Reproduction URL
https://github.com/metayii/sveltekit-vimejs-stencil-error/tree/master
Additional Information
"@stencil/core": "2.5.2"
"@sveltejs/kit": "next"
"@vime/core": "^5.3.0"
"@vime/svelte": "^5.3.0"
Similar to 2752
The text was updated successfully, but these errors were encountered: