justin-schroeder / vcir-package-a

Test package for vitest reproduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vitest Conditional Imports Reproduction (VCIR)

In order to reproduce the issue we need 2 modules with conditional "exports" blocks. This is package-a in this graph:

My-Project
├── package-b
│   ├── package-a

When package-b and package-a both have development conditional exports and vitest is run in development, the development conditional exports from package-a should be used.

About

Test package for vitest reproduction