You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easiest explanation/reproduction is this pull request.
I had to add failOrWarn: false to all of the CLI package's build configurations due to them iteratively generating the outputs that satisfy the package.json's exports field.
Describe the bug
When passing a set of build configurations (i.e., BuildConfig[]) whose outputs will cumulatively satisfy the exports specified in the package.json's exports field, unbuild will fail on validation after the first output due to the package.json's exports not existing in the output directory.
Additional context
I'm more than happy to contribute a fix.
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Node v20.10.0
Package(s) The family of tools in https://github.com/pkg-tools/pkg-tools e.g.
https://www.npmjs.com/package/@pkg-tools/build
https://www.npmjs.com/package/@pkg-tools/clean
https://www.npmjs.com/package/@pkg-tools/format
https://www.npmjs.com/package/@pkg-tools/lint
https://www.npmjs.com/package/@pkg-tools/sync
Reproduction
The easiest explanation/reproduction is this pull request.
I had to add
failOrWarn: false
to all of the CLI package's build configurations due to them iteratively generating the outputs that satisfy thepackage.json
's exports field.Describe the bug
When passing a set of build configurations (i.e.,
BuildConfig[]
) whose outputs will cumulatively satisfy the exports specified in thepackage.json
'sexports
field, unbuild will fail on validation after the first output due to thepackage.json
'sexports
not existing in the output directory.Additional context
I'm more than happy to contribute a fix.
Logs
No response
The text was updated successfully, but these errors were encountered: