-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
Currently publishing packages with pnpm publishConfig.directory
. This setting causes the specified folder to be published instead of the package root folder. We generate a ./dist/package.json
file with exports translated from exports in the ./package.json
(those point to our sources). This feature would avoid us from having exports.devExports
rewriting the package.json constantly between production and development.
Suggested solution
When publishConfig.directory
is set in package.json, copy the package.json to the output folder and rewrite the exports field
Alternative
No response
Additional context
Reflecting on this, I presume the current solution has superior "transpilePackages" support
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request