Skip to content

bug: stencil, alias import not working when using stencil app #25122

@selodev

Description

@selodev

Prerequisites

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stencilIssues that require changes in Stenciltype: buga confirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions