bug: stencil, alias import not working when using stencil app
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
When running "start": "stencil build --dev --watch --serve",
, I get the following errors.
` [ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/refresher/refresher.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/footer/footer.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/header/header.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/status-tap.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/input-shims.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-padding.js, but could not be resolved – treating it as an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-assist.js, but could not be resolved – treating it as an external dependency `###
Expected Behavior
I should be able to use the latest version of @ionic/core with latest version of stencil as my UI library.
Steps to Reproduce
npm start
in Stencil project.
Code Reproduction URL
No response
Ionic Info
N/A
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
Thanks for resolving it so quick 😃
Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic-framework/pull/25123, and a fix will be available in an upcoming release of Ionic Framework.