Skip to content

Unresolved Import warnings when building in Stencil for latest date changes #26908

Description

@joewoodhouse

import { printIonError } from '@utils/logging';

When building with @ionic/core@6.6.0 and @stenci/core get following warning:

[ WARN  ]  Bundling Warning UNRESOLVED_IMPORT
           '@utils/logging' is imported by
           ./node_modules/@ionic/core/dist/collection/components/datetime/utils/state.js, but could not be resolved –
           treating it as an external dependency

And runtime issues

Think the above line should be

import { printIonError } from '../../utils/logging';

These errors have been introduced quite a few times in the past, I wonder if there's some sort of lint check you can do to make sure they aren't re-introduced?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions