-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Documentationdocumentation related issuedocumentation related issueNeeds Triageneeds review for next stepsneeds review for next steps
Description
Is there an existing issue for this?
- I have searched the existing issues
This is a CLI Docs Enhancement, not another kind of Docs Enhancement.
- This is a CLI Docs Enhancement.
Description of Problem
The docs don't mention how to delete a complex key.
I have an exports
key that I need to delete before publish, but I'm not sure how (or if it's possible). I want to delete "./src/index.ts"
before publish because it's only used as an entry point in the monorepo for development:
"exports": {
".": {
"import": {
"development": "./dist/floating-ui.dom.esm.development.js",
"production": "./dist/floating-ui.dom.esm.min.js",
"default": "./dist/floating-ui.dom.esm.js"
},
"require": "./dist/floating-ui.dom.cjs"
},
"./package.json": "./package.json",
"./src/index.ts": "./src/index.ts"
},
npm pkg delete exports../src/index.ts
does not work. Tried escape characters/quotes too
Potential Solution
No response
Docs URL
Metadata
Metadata
Assignees
Labels
Documentationdocumentation related issuedocumentation related issueNeeds Triageneeds review for next stepsneeds review for next steps