-
Notifications
You must be signed in to change notification settings - Fork 456
Open
Labels
Description
Describe the bug
pnpm build warns about our ordering of the exports fields
To Reproduce
Run pnpm build
Expected behavior
Clean build
Screenshots
Build produces warnings such as:
plugins/pinecone build$ npm-run-all build:clean check compile
[8 lines collapsed]
[1 lines collapsed]
│ ╵ ~~~~~~~
│ The "import" condition comes earlier and will be used for all "import" statements:
│ package.json:51:6:
│ 51 │ "import": "./lib/index.mjs",
│ ╵ ~~~~~~~~
│ The "require" condition comes earlier and will be used for all "require" calls:
│ package.json:50:6:
│ 50 │ "require": "./lib/index.js",
│ ╵ ~~~~~~~~~
│ The "import" condition comes earlier and will be used for all "import" statements:
Runtime (please complete the following information):
- OS: MacOS
- Version 14.7.2
** Node version
- 20.11.1
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status