Skip to content

import.meta.glob doesn't respect "imports" field, but respects aliases #12465

@sheremet-va

Description

@sheremet-va

Describe the bug

I don't know if it should support this, but since aliases are supported, I assumed this would be too 👀

Reproduction

not needed (\jk, here it is: https://stackblitz.com/edit/vitejs-vite-qvp2ys?file=src%2Ftest.ts,main.js&terminal=dev)

Steps to reproduce

Uncomment import.meta.glob line.

System Info

stackblitz

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions